public class CollectionNodeIterator extends java.lang.Object implements NodeIterator
NodeIterator| Constructor and Description |
|---|
CollectionNodeIterator(java.util.Collection<Node> nodes) |
| Modifier and Type | Method and Description |
|---|---|
long |
getPosition() |
long |
getSize() |
boolean |
hasNext() |
java.lang.Object |
next() |
Node |
nextNode() |
void |
remove() |
void |
skip(long skipNum) |
public CollectionNodeIterator(java.util.Collection<Node> nodes)
public void skip(long skipNum)
skip in interface RangeIteratorpublic long getSize()
getSize in interface RangeIteratorpublic long getPosition()
getPosition in interface RangeIteratorpublic boolean hasNext()
hasNext in interface java.util.Iteratorpublic java.lang.Object next()
next in interface java.util.Iteratorpublic void remove()
remove in interface java.util.Iteratorpublic Node nextNode()
nextNode in interface NodeIteratorCopyright © 2007–2020. All rights reserved.