org.siebengeisslein.collections
Class AbstractPersistentList.ArrayIterator

java.lang.Object
  extended by org.siebengeisslein.collections.AbstractPersistentList.ArrayIterator
All Implemented Interfaces:
java.util.Iterator<EntryType>
Direct Known Subclasses:
AbstractPersistentList.ArrayListIterator
Enclosing class:
AbstractPersistentList<EntryType>

protected class AbstractPersistentList.ArrayIterator
extends java.lang.Object
implements java.util.Iterator<EntryType>


Constructor Summary
AbstractPersistentList.ArrayIterator(int version)
           
 
Method Summary
protected  void checkVersion()
           
protected  int getPosition()
           
 boolean hasNext()
           
protected  void incVersion()
           
 EntryType next()
           
 void remove()
           
protected  void setPosition(int position)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractPersistentList.ArrayIterator

public AbstractPersistentList.ArrayIterator(int version)
Method Detail

getPosition

protected int getPosition()

setPosition

protected void setPosition(int position)

hasNext

public boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator<EntryType>

checkVersion

protected void checkVersion()

incVersion

protected void incVersion()

next

public EntryType next()
Specified by:
next in interface java.util.Iterator<EntryType>

remove

public void remove()
Specified by:
remove in interface java.util.Iterator<EntryType>