org.mmbase.bridge.util
Class BridgeCollections.UnmodifiableNodeList
java.lang.Object
org.mmbase.bridge.util.BridgeCollections.UnmodifiableBridgeList<Node>
org.mmbase.bridge.util.BridgeCollections.UnmodifiableNodeList
- All Implemented Interfaces:
- Iterable<Node>, Collection<Node>, List<Node>, BridgeList<Node>, NodeList
- Enclosing class:
- BridgeCollections
static class BridgeCollections.UnmodifiableNodeList
- extends BridgeCollections.UnmodifiableBridgeList<Node>
- implements NodeList
| Methods inherited from class org.mmbase.bridge.util.BridgeCollections.UnmodifiableBridgeList |
add, add, addAll, addAll, clear, contains, containsAll, equals, get, getProperties, getProperty, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, setProperty, size, sort, sort, subList, toArray, toArray, toString |
| 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 |
BridgeCollections.UnmodifiableNodeList
BridgeCollections.UnmodifiableNodeList(NodeList nodeList)
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
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
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
MMBase 2.0-SNAPSHOT - null