public abstract class AbstractLongBidirectionalIterator extends AbstractLongIterator implements LongBidirectionalIterator
To create a type-specific bidirectional iterator, besides what is needed for an iterator you need both a method returning the previous element as primitive type and a method returning the previous element as an object. However, if you inherit from this class you need just one (anyone).
This class implements also a trivial version of
back(int) that uses
|Modifier and Type||Method and Description|
Delegates to the corresponding type-specific method.
Delegates to the corresponding generic method.
next, nextLong, remove, skip
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public long previousLong()
public Long previous()
public int back(int n)
previous()for at most
ntimes, stopping if