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, empty, hasNext, next, remove
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
public 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) 2014 Eike Stepper (Berlin, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html