org.mmbase.bridge.util
Class BridgeCollections.EmptyNodeList

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by org.mmbase.bridge.util.BridgeCollections.EmptyBridgeList<Node>
              extended by org.mmbase.bridge.util.BridgeCollections.EmptyNodeList
All Implemented Interfaces:
Serializable, Iterable<Node>, Collection<Node>, List<Node>, BridgeList<Node>, NodeList
Enclosing class:
BridgeCollections

static class BridgeCollections.EmptyNodeList
extends BridgeCollections.EmptyBridgeList<Node>
implements NodeList


Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Fields inherited from interface org.mmbase.bridge.NodeList
NODESTEP_PROPERTY, QUERY_PROPERTY
 
Constructor Summary
BridgeCollections.EmptyNodeList()
           
 
Method Summary
 Node getNode(int index)
          Returns the Node at the indicated postion in the list
 NodeIterator nodeIterator()
          Returns an type-specific iterator for this list.
protected  Object readResolve()
           
 NodeList subNodeList(int fromIndex, int toIndex)
          Returns a sublist of this list.
 
Methods inherited from class org.mmbase.bridge.util.BridgeCollections.EmptyBridgeList
contains, get, getProperties, getProperty, setProperty, size, sort, sort, subList
 
Methods inherited from class java.util.AbstractList
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set
 
Methods inherited from class java.util.AbstractCollection
addAll, containsAll, isEmpty, remove, removeAll, retainAll, toArray, 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

BridgeCollections.EmptyNodeList

BridgeCollections.EmptyNodeList()
Method Detail

getNode

public final 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 final 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

readResolve

protected Object readResolve()


MMBase 2.0-SNAPSHOT - null