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