org.mmbase.bridge.implementation
Class BasicNodeManagerList

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by org.mmbase.bridge.implementation.BasicList<E>
              extended by org.mmbase.bridge.implementation.AbstractNodeList<NodeManager>
                  extended by org.mmbase.bridge.implementation.BasicNodeManagerList
All Implemented Interfaces:
Serializable, Iterable<NodeManager>, Collection<NodeManager>, List<NodeManager>, RandomAccess, BridgeList<NodeManager>, NodeManagerList

public class BasicNodeManagerList
extends AbstractNodeList<NodeManager>
implements NodeManagerList

A list of node managers

Version:
$Id: BasicNodeManagerList.java 41943 2010-04-16 17:18:19Z michiel $
Author:
Pierre van Rooden
See Also:
Serialized Form

Nested Class Summary
protected  class BasicNodeManagerList.BasicNodeManagerIterator
           
 
Nested classes/interfaces inherited from class org.mmbase.bridge.implementation.BasicList
BasicList.BasicIterator
 
Field Summary
 
Fields inherited from class org.mmbase.bridge.implementation.AbstractNodeList
cloud, nodeManager
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
BasicNodeManagerList()
           
BasicNodeManagerList(Collection c, Cloud cloud)
           
 
Method Summary
protected  NodeManager convert(Object o)
          converts the object in the list to the excpected format
 NodeManager getNodeManager(int index)
          Returns the NodeManager at the indicated postion in the list
 NodeManagerIterator nodeManagerIterator()
          Returns an type-specific iterator for this list.
 NodeManagerList subNodeManagerList(int fromIndex, int toIndex)
           
 
Methods inherited from class org.mmbase.bridge.implementation.AbstractNodeList
castToNodeManager, convertWithBridgeToNode, getNode
 
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 class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.mmbase.bridge.BridgeList
getProperties, getProperty, setProperty, sort, sort, subList
 
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
 

Constructor Detail

BasicNodeManagerList

BasicNodeManagerList()

BasicNodeManagerList

public BasicNodeManagerList(Collection c,
                            Cloud cloud)
Method Detail

convert

protected NodeManager convert(Object o)
Description copied from class: BasicList
converts the object in the list to the excpected format

Overrides:
convert in class AbstractNodeList<NodeManager>

getNodeManager

public NodeManager getNodeManager(int index)
Description copied from interface: NodeManagerList
Returns the NodeManager at the indicated postion in the list

Specified by:
getNodeManager in interface NodeManagerList
Parameters:
index - the position of the NodeManager to retrieve
Returns:
NodeManager at the indicated postion

nodeManagerIterator

public NodeManagerIterator nodeManagerIterator()
Description copied from interface: NodeManagerList
Returns an type-specific iterator for this list.

Specified by:
nodeManagerIterator in interface NodeManagerList
Returns:
NodeManager iterator

subNodeManagerList

public NodeManagerList subNodeManagerList(int fromIndex,
                                          int toIndex)


MMBase 2.0-SNAPSHOT - null