public class BasicNodeIterator extends com.google.common.collect.UnmodifiableIterator<AbstractNode> implements BidiIterator<AbstractNode>
Modifier | Constructor and Description |
---|---|
protected |
BasicNodeIterator(AbstractNode startWith) |
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.
|
AbstractNode |
next() |
AbstractNode |
previous()
Returns the previous element.
|
protected BasicNodeIterator(AbstractNode startWith)
public boolean hasNext()
hasNext
in interface java.util.Iterator<AbstractNode>
public AbstractNode next()
next
in interface java.util.Iterator<AbstractNode>
public boolean hasPrevious()
BidiIterator
hasPrevious
in interface BidiIterator<AbstractNode>
public AbstractNode previous()
BidiIterator
previous
in interface BidiIterator<AbstractNode>