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 java.lang.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
public final boolean hasPrevious()
public final T previous()
protected abstract java.lang.Object computePreviousElement()
AbstractIterator.END_OF_DATA
if the start of the iteration has been reached.Copyright (c) 2004-2019 Eike Stepper (Loehne, 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