Modifier and Type | Field and Description |
---|---|
private Node |
current |
private Node |
start |
private boolean |
used |
Constructor and Description |
---|
SiblingNodeIterable(Node start) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
java.util.Iterator<Node> |
iterator() |
Node |
next() |
void |
remove() |
SiblingNodeIterable(Node start)
public java.util.Iterator<Node> iterator()
iterator
in interface java.lang.Iterable<Node>
public boolean hasNext()
hasNext
in interface java.util.Iterator<Node>
public void remove()
remove
in interface java.util.Iterator<Node>