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 Iterator<AbstractNode>public AbstractNode next()
next in interface Iterator<AbstractNode>public boolean hasPrevious()
BidiIteratorhasPrevious in interface BidiIterator<AbstractNode>public AbstractNode previous()
BidiIteratorprevious in interface BidiIterator<AbstractNode>Copyright © 2015. All Rights Reserved.