org.mmbase.bridge.implementation
Class BasicList.BasicIterator

java.lang.Object
  extended by org.mmbase.bridge.implementation.BasicList.BasicIterator
All Implemented Interfaces:
Iterator<E>, ListIterator<E>
Direct Known Subclasses:
BasicFieldList.BasicFieldIterator, BasicModuleList.BasicModuleIterator, BasicNodeList.BasicNodeIterator, BasicNodeManagerList.BasicNodeManagerIterator, BasicRelationList.BasicRelationIterator, BasicRelationManagerList.BasicRelationManagerIterator, BasicStringList.BasicStringIterator, SimpleNodeList.SimpleNodeIterator
Enclosing class:
BasicList<E extends Comparable<? super E>>

protected class BasicList.BasicIterator
extends Object
implements ListIterator<E>


Field Summary
protected  ListIterator<E> iterator
           
 
Constructor Summary
protected BasicList.BasicIterator()
           
 
Method Summary
 void add(E o)
           
 boolean hasNext()
           
 boolean hasPrevious()
           
 E next()
           
 int nextIndex()
           
 E previous()
           
 int previousIndex()
           
 void remove()
           
 void set(E o)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

iterator

protected ListIterator<E extends Comparable<? super E>> iterator
Constructor Detail

BasicList.BasicIterator

protected BasicList.BasicIterator()
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator<E extends Comparable<? super E>>
Specified by:
hasNext in interface ListIterator<E extends Comparable<? super E>>

hasPrevious

public boolean hasPrevious()
Specified by:
hasPrevious in interface ListIterator<E extends Comparable<? super E>>

nextIndex

public int nextIndex()
Specified by:
nextIndex in interface ListIterator<E extends Comparable<? super E>>

previousIndex

public int previousIndex()
Specified by:
previousIndex in interface ListIterator<E extends Comparable<? super E>>

remove

public void remove()
Specified by:
remove in interface Iterator<E extends Comparable<? super E>>
Specified by:
remove in interface ListIterator<E extends Comparable<? super E>>

set

public void set(E o)
Specified by:
set in interface ListIterator<E extends Comparable<? super E>>

add

public void add(E o)
Specified by:
add in interface ListIterator<E extends Comparable<? super E>>

next

public E next()
Specified by:
next in interface Iterator<E extends Comparable<? super E>>
Specified by:
next in interface ListIterator<E extends Comparable<? super E>>

previous

public E previous()
Specified by:
previous in interface ListIterator<E extends Comparable<? super E>>


MMBase 2.0-SNAPSHOT - null