|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.common.collect.UnmodifiableIterator<T> org.eclipse.xtext.nodemodel.util.SingletonBidiIterator<T>
public class SingletonBidiIterator<T>
Method Summary | ||
---|---|---|
static
|
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. |
Methods inherited from class com.google.common.collect.UnmodifiableIterator |
---|
remove |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Iterator |
---|
remove |
Method Detail |
---|
public static <T> BidiIterator<T> create(T t)
public boolean hasNext()
hasNext
in interface java.util.Iterator<T>
public T next()
next
in interface java.util.Iterator<T>
public boolean hasPrevious()
BidiIterator
hasPrevious
in interface BidiIterator<T>
public T previous()
BidiIterator
previous
in interface BidiIterator<T>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |