org.mmbase.bridge
Interface NodeList

All Superinterfaces:
BridgeList, java.util.Collection, java.util.List
All Known Subinterfaces:
NodeManagerList, RelationList, RelationManagerList
All Known Implementing Classes:
BasicNodeList

public interface NodeList
extends BridgeList

A list of nodes

Version:
$Id: NodeList.java,v 1.6 2002/09/23 14:31:02 pierre Exp $
Author:
Pierre van Rooden

Method Summary
 Node getNode(int index)
          Returns the Node at the indicated postion in the list
 NodeIterator nodeIterator()
          Returns an type-specific iterator for this list.
 NodeList subNodeList(int fromIndex, int toIndex)
          Returns a sublist of this list.
 
Methods inherited from interface org.mmbase.bridge.BridgeList
getProperty, setProperty, sort, sort
 
Methods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray
 

Method Detail

getNode

public Node getNode(int index)
Returns the Node at the indicated postion in the list
Parameters:
index - the position of the Node to retrieve

nodeIterator

public NodeIterator nodeIterator()
Returns an type-specific iterator for this list.

subNodeList

public NodeList subNodeList(int fromIndex,
                            int toIndex)
Returns a sublist of this list.
Parameters:
fromIndex - the position in the current list where the sublist starts (inclusive)
toIndex - the position in the current list where the sublist ends (exclusive)


MMBase build 1.6.5.20030923