
public abstract class AbstractListIterator<T> extends AbstractIterator<T>
AbstractIterator.computeNextElement() and computePreviousElement() methods.END_OF_DATA| Constructor and Description |
|---|
AbstractListIterator() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Object |
computePreviousElement()
Returns the previous iteration element, or
AbstractIterator.END_OF_DATA if the start of the iteration has been reached. |
boolean |
hasPrevious() |
T |
previous() |
computeNextElement, hasNext, next, removepublic final boolean hasPrevious()
public final T previous()
protected abstract Object computePreviousElement()
AbstractIterator.END_OF_DATA if the start of the iteration has been reached.Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.