public class FilteringNodeIterator extends java.lang.Object implements NodeIterator
Constructor and Description |
---|
FilteringNodeIterator(NodeIterator base,
Predicate filter) |
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 FilteringNodeIterator(NodeIterator base, Predicate filter)
public boolean hasNext()
hasNext
in interface java.util.Iterator
Iterator.hasNext()
public java.lang.Object next()
next
in interface java.util.Iterator
Iterator.next()
public void remove()
remove
in interface java.util.Iterator
Iterator.remove()
public Node nextNode()
nextNode
in interface NodeIterator
NodeIterator.nextNode()
public void skip(long skipNum)
skip
in interface RangeIterator
RangeIterator.skip(long)
public long getSize()
getSize
in interface RangeIterator
RangeIterator.getSize()
public long getPosition()
getPosition
in interface RangeIterator
RangeIterator.getPosition()
Copyright © 2010 - 2020 Adobe. All Rights Reserved