org.mmbase.bridge.implementation
Class SimpleNodeList

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<Node>
                  extended by org.mmbase.bridge.implementation.SimpleNodeList
All Implemented Interfaces:
Serializable, Iterable<Node>, Collection<Node>, List<Node>, RandomAccess, BridgeList<Node>, NodeList

public class SimpleNodeList
extends AbstractNodeList<Node>
implements NodeList

A list of nodes

Since:
MMBase-2.0
Version:
$Id: SimpleNodeList.java 42553 2010-06-15 09:14:55Z michiel $
Author:
Michiel Meeuwissen
See Also:
Serialized Form

Nested Class Summary
protected  class SimpleNodeList.SimpleNodeIterator
           
 
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
 
Fields inherited from interface org.mmbase.bridge.NodeList
NODESTEP_PROPERTY, QUERY_PROPERTY
 
Constructor Summary
SimpleNodeList()
           
SimpleNodeList(Collection c, Cloud cloud)
           
SimpleNodeList(Collection c, NodeManager nodeManager)
           
 
Method Summary
 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 class org.mmbase.bridge.implementation.AbstractNodeList
castToNodeManager, convert, 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.NodeList
getNode
 
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

SimpleNodeList

SimpleNodeList()

SimpleNodeList

public SimpleNodeList(Collection c,
                      Cloud cloud)

SimpleNodeList

public SimpleNodeList(Collection c,
                      NodeManager nodeManager)
Method Detail

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 2.0-SNAPSHOT - null