public class EmptyBidiIterator<T> extends com.google.common.collect.UnmodifiableIterator<T> implements BidiIterator<T>
| Constructor and Description |
|---|
EmptyBidiIterator() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
boolean |
hasPrevious()
Returns true if this bidi iterator has more elements when
traversing in the reverse direction.
|
static <T> BidiIterator<T> |
instance() |
T |
next() |
T |
previous()
Returns the previous element.
|
public static <T> BidiIterator<T> instance()
public boolean hasNext()
hasNext in interface java.util.Iterator<T>public boolean hasPrevious()
BidiIteratorhasPrevious in interface BidiIterator<T>public T previous()
BidiIteratorprevious in interface BidiIterator<T>