org.mmbase.bridge.implementation
Class BasicNodeList
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
org.mmbase.bridge.implementation.BasicList<E>
org.mmbase.bridge.implementation.AbstractNodeList<Node>
org.mmbase.bridge.implementation.BasicNodeList
- All Implemented Interfaces:
- Serializable, Iterable<Node>, Collection<Node>, List<Node>, RandomAccess, BridgeList<Node>, NodeList
public class BasicNodeList
- extends AbstractNodeList<Node>
- implements NodeList
A list of nodes
- Version:
- $Id: BasicNodeList.java 42103 2010-05-04 15:01:39Z michiel $
- Author:
- Pierre van Rooden
- See Also:
- Serialized Form
| Methods inherited from class org.mmbase.bridge.implementation.BasicList |
add, convert, convertAll, get, getProperties, getProperty, remove, set, setProperty, size, sort, sort, subList, toArray |
| Methods inherited from class java.util.AbstractList |
add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange |
| 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, toArray, toArray |
BasicNodeList
BasicNodeList()
BasicNodeList
public BasicNodeList(Collection c,
Cloud cloud)
BasicNodeList
public BasicNodeList(Collection c,
NodeManager nodeManager)
convertMMObjectNodeToBridgeNode
public static Node convertMMObjectNodeToBridgeNode(Cloud cloud,
NodeManager nodeManager,
Object o)
convert
protected Node convert(Object o)
- Description copied from class:
BasicList
- converts the object in the list to the excpected format
- Overrides:
convert in class AbstractNodeList<Node>
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
getNode
protected static Node getNode(Cloud cloud,
NodeManager nodeManager,
MMObjectNode coreNode)
- Since:
- MMBase-1.8.4
MMBase 2.0-SNAPSHOT - null