|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.common.collect.UnmodifiableIterator<AbstractNode> org.eclipse.xtext.nodemodel.impl.BasicNodeTreeIterator
public class BasicNodeTreeIterator
Constructor Summary | |
---|---|
protected |
BasicNodeTreeIterator(AbstractNode root)
|
Method Summary | |
---|---|
protected void |
afterAdvance()
|
boolean |
hasNext()
|
boolean |
hasPrevious()
Returns true if this bidi iterator has more elements when traversing in the reverse direction. |
AbstractNode |
next()
Intermixed calls to BidiTreeIterator.next() and BidiTreeIterator.previous() may not lead
to the very same element since the iterator does not return the parent element
when its done with its children but the next sibling of the parent. |
AbstractNode |
previous()
Returns the previous element. |
void |
prune()
|
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 |
Constructor Detail |
---|
protected BasicNodeTreeIterator(AbstractNode root)
Method Detail |
---|
public boolean hasNext()
hasNext
in interface java.util.Iterator<AbstractNode>
public AbstractNode next()
BidiTreeIterator
Intermixed calls to BidiTreeIterator.next()
and BidiTreeIterator.previous()
may not lead
to the very same element since the iterator does not return the parent element
when its done with its children but the next sibling of the parent.
next
in interface java.util.Iterator<AbstractNode>
next
in interface BidiTreeIterator<AbstractNode>
protected void afterAdvance()
public boolean hasPrevious()
BidiIterator
hasPrevious
in interface BidiIterator<AbstractNode>
public AbstractNode previous()
BidiTreeIterator
Intermixed calls to BidiTreeIterator.next()
and BidiTreeIterator.previous()
may not lead
to the very same element since the iterator does not return the parent element
when its done with its children but the next sibling of the parent.
previous
in interface BidiIterator<AbstractNode>
previous
in interface BidiTreeIterator<AbstractNode>
public void prune()
prune
in interface org.eclipse.emf.common.util.TreeIterator<AbstractNode>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |