public class ReversedBidiIterator<T> extends java.lang.Object implements BidiIterator<T>
| Constructor and Description |
|---|
ReversedBidiIterator(BidiIterator<T> delegate) |
| Modifier and Type | Method and Description |
|---|---|
protected BidiIterator<T> |
getDelegate() |
boolean |
hasNext() |
boolean |
hasPrevious()
Returns true if this bidi iterator has more elements when
traversing in the reverse direction.
|
T |
next() |
T |
previous()
Returns the previous element.
|
void |
remove() |
public ReversedBidiIterator(BidiIterator<T> delegate)
public boolean hasNext()
hasNext in interface java.util.Iterator<T>public void remove()
remove in interface java.util.Iterator<T>public boolean hasPrevious()
BidiIteratorhasPrevious in interface BidiIterator<T>public T previous()
BidiIteratorprevious in interface BidiIterator<T>protected BidiIterator<T> getDelegate()