org.mmbase.bridge.implementation
Class BasicNodeList
java.lang.Object
java.util.AbstractCollection
java.util.AbstractList
java.util.ArrayList
org.mmbase.bridge.implementation.BasicList
org.mmbase.bridge.implementation.BasicNodeList
- All Implemented Interfaces:
- BridgeList, Cloneable, Collection, List, NodeList, RandomAccess, Serializable
- Direct Known Subclasses:
- BasicNodeManagerList, BasicRelationList
- public class BasicNodeList
- extends BasicList
- implements NodeList
A list of nodes
- Version:
- $Id: BasicNodeList.java,v 1.47 2006/07/09 14:14:39 michiel Exp $
- Author:
- Pierre van Rooden
- See Also:
- Serialized Form
| Methods inherited from class org.mmbase.bridge.implementation.BasicList |
add, add, contains, convertAll, get, getProperty, remove, removeAll, set, setProperty, sort, sort, toArray |
| Methods inherited from class java.util.ArrayList |
addAll, addAll, clear, clone, ensureCapacity, indexOf, isEmpty, lastIndexOf, remove, removeRange, size, toArray, trimToSize |
| 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 |
cloud
protected Cloud cloud
nodeManager
protected NodeManager nodeManager
castToNodeManager
protected NodeManager castToNodeManager(Node n)
- since MMBase 1.8
convert
protected Object convert(Object o,
int index)
- Overrides:
convert in class BasicList
validate
protected Object validate(Object o)
throws ClassCastException
- Overrides:
validate in class BasicList
- Throws:
ClassCastException
getNode
public Node getNode(int index)
- Description copied from interface:
NodeList
- Returns the Node at the indicated postion in the list
- Specified by:
getNode in interface NodeList
- Parameters:
index - the position of the Node to retrieve
- Returns:
- Node at the indicated postion
subNodeList
public NodeList subNodeList(int fromIndex,
int toIndex)
- Description copied from interface:
NodeList
- Returns a sublist of this list.
- Specified by:
subNodeList in interface NodeList
- 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)
- Returns:
- sublist of this list
nodeIterator
public NodeIterator nodeIterator()
- Description copied from interface:
NodeList
- Returns an type-specific iterator for this list.
- Specified by:
nodeIterator in interface NodeList
- Returns:
- Node iterator
MMBase build 1.8.1.20060716