private class AmetysObjectCollectionFactory.WrapperNodeIterator extends Object implements NodeIterator
Modifier and Type | Field and Description |
---|---|
private Node |
_firstElement |
private boolean |
_firstElementUsed |
private NodeIterator |
_it |
Constructor and Description |
---|
WrapperNodeIterator(Node firstElement,
NodeIterator it) |
Modifier and Type | Method and Description |
---|---|
long |
getPosition() |
long |
getSize() |
boolean |
hasNext() |
Object |
next() |
Node |
nextNode() |
void |
remove() |
void |
skip(long skipNum) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
private Node _firstElement
private NodeIterator _it
private boolean _firstElementUsed
public WrapperNodeIterator(Node firstElement, NodeIterator it)
public Node nextNode()
nextNode
in interface NodeIterator
public long getPosition()
getPosition
in interface RangeIterator
public long getSize()
getSize
in interface RangeIterator
public void skip(long skipNum)
skip
in interface RangeIterator