class RecursiveNodeIterator extends Object implements ListIterator<SpanNode>
Modifier and Type | Field and Description |
---|---|
protected ListIterator<SpanNode> |
iteratorFromLastCallToNext |
protected Stack<PeekableListIterator<SpanNode>> |
stack |
Modifier | Constructor and Description |
---|---|
protected |
RecursiveNodeIterator() |
(package private) |
RecursiveNodeIterator(ListIterator<SpanNode> it) |
Modifier and Type | Method and Description |
---|---|
void |
add(SpanNode spanNode) |
boolean |
hasNext() |
boolean |
hasPrevious() |
SpanNode |
next() |
int |
nextIndex() |
SpanNode |
previous() |
int |
previousIndex() |
void |
remove() |
void |
set(SpanNode spanNode) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
protected Stack<PeekableListIterator<SpanNode>> stack
protected ListIterator<SpanNode> iteratorFromLastCallToNext
RecursiveNodeIterator(ListIterator<SpanNode> it)
protected RecursiveNodeIterator()
public boolean hasNext()
public SpanNode next()
public boolean hasPrevious()
hasPrevious
in interface ListIterator<SpanNode>
public SpanNode previous()
previous
in interface ListIterator<SpanNode>
public int nextIndex()
nextIndex
in interface ListIterator<SpanNode>
public int previousIndex()
previousIndex
in interface ListIterator<SpanNode>
public void remove()
public void set(SpanNode spanNode)
set
in interface ListIterator<SpanNode>
public void add(SpanNode spanNode)
add
in interface ListIterator<SpanNode>
Copyright © 2017. All rights reserved.