org.mmbase.bridge
Interface NodeList

All Superinterfaces:
java.util.Collection, java.util.List
All Known Subinterfaces:
RelationList
All Known Implementing Classes:
BasicNodeList, RemoteNodeList_Impl, RemoteRelationList_Impl

public interface NodeList
extends java.util.List

A list of nodes

Version:
$Id: NodeList.java,v 1.3 2002/01/31 10:05:08 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 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 2002