class NodeIteratorIterable.NodeIteratorIterator extends Object implements AmetysObjectIterator<A>
| Modifier and Type | Field and Description |
|---|---|
private NodeIterator |
_it |
private int |
_position |
| Constructor and Description |
|---|
NodeIteratorIterator(NodeIterator it) |
| Modifier and Type | Method and Description |
|---|---|
long |
getPosition()
Returns the current position within the iterator.
|
long |
getSize()
Returns the number of elements in the iterator.
|
boolean |
hasNext() |
A |
next() |
void |
remove() |
void |
skip(long skipNum)
Skip a number of elements in the iterator.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingprivate NodeIterator _it
private int _position
public NodeIteratorIterator(NodeIterator it)
public long getPosition()
AmetysObjectIteratornext call.
getPosition in interface AmetysObjectIterator<A extends AmetysObject>public long getSize()
AmetysObjectIteratorgetSize in interface AmetysObjectIterator<A extends AmetysObject>public void skip(long skipNum)
AmetysObjectIteratorskipNum times Iterator.next().skip in interface AmetysObjectIterator<A extends AmetysObject>skipNum - the non-negative number of elements to skippublic boolean hasNext()
hasNext in interface Iterator<A extends AmetysObject>public void remove()
remove in interface Iterator<A extends AmetysObject>