private static class Edges.EdgesIterator extends Object implements NodePosIterator
Modifier and Type | Field and Description |
---|---|
protected int |
count |
protected int |
directCount |
protected Edges |
edges |
protected int |
index |
(package private) NodeList<Node> |
list |
protected boolean |
needsForward |
protected Node |
nextElement |
protected Node |
node |
protected long[] |
offsets |
protected int |
subIndex |
Constructor and Description |
---|
EdgesIterator(Node node,
Edges edges)
Creates an iterator that will iterate over some given edges in a given node.
|
Modifier and Type | Method and Description |
---|---|
(package private) void |
forward() |
private void |
forwardNodeList() |
boolean |
hasNext() |
Node |
next() |
private Node |
nextElement() |
Position |
nextPosition() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
protected int index
protected int subIndex
protected boolean needsForward
protected Node nextElement
protected final int directCount
protected final int count
protected final long[] offsets
EdgesIterator(Node node, Edges edges)
void forward()
private void forwardNodeList()
private Node nextElement()
public Position nextPosition()
nextPosition
in interface NodePosIterator