public class SingletonBidiIterator<T> extends com.google.common.collect.UnmodifiableIterator<T> implements BidiIterator<T>
| Modifier and Type | Method and Description |
|---|---|
static <T> BidiIterator<T> |
create(T t) |
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.
|
public static <T> BidiIterator<T> create(T t)
public boolean hasPrevious()
BidiIteratorhasPrevious in interface BidiIterator<T>public T previous()
BidiIteratorprevious in interface BidiIterator<T>Copyright © 2015. All Rights Reserved.