Class AbstractListIterator<T>
- java.lang.Object
- 
- org.eclipse.net4j.util.collection.AbstractIterator<T>
- 
- org.eclipse.net4j.util.collection.AbstractListIterator<T>
 
 
- 
- All Implemented Interfaces:
- java.util.Iterator<T>
 
 public abstract class AbstractListIterator<T> extends AbstractIterator<T> An abstract base class for custom list iterators that only requires to implement theAbstractIterator.computeNextElement()andcomputePreviousElement()methods.- Since:
- 3.3
- Author:
- Eike Stepper
 
- 
- 
Field Summary- 
Fields inherited from class org.eclipse.net4j.util.collection.AbstractIteratorEND_OF_DATA
 
- 
 - 
Constructor SummaryConstructors Constructor Description AbstractListIterator()
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract java.lang.ObjectcomputePreviousElement()Returns the previous iteration element, orAbstractIterator.END_OF_DATAif the start of the iteration has been reached.booleanhasPrevious()Tprevious()- 
Methods inherited from class org.eclipse.net4j.util.collection.AbstractIteratorcomputeNextElement, empty, hasNext, next, remove
 
- 
 
- 
- 
- 
Method Detail- 
hasPreviouspublic final boolean hasPrevious() 
 - 
previouspublic final T previous() 
 - 
computePreviousElementprotected abstract java.lang.Object computePreviousElement() Returns the previous iteration element, orAbstractIterator.END_OF_DATAif the start of the iteration has been reached.
 
- 
 
-