public class NodeIteratorAdapter extends RangeIteratorDecorator
| Modifier and Type | Field and Description |
|---|---|
static NodeIterator |
EMPTY
Static instance of an empty
NodeIterator. |
| Constructor and Description |
|---|
NodeIteratorAdapter(Iterator iterator,
long size) |
NodeIteratorAdapter(RangeIterator iterator)
Creates an adapter for the given
RangeIterator. |
| Modifier and Type | Method and Description |
|---|---|
Node |
nextNode()
Returns the next node.
|
getPosition, getSize, hasNext, next, remove, skippublic NodeIteratorAdapter(RangeIterator iterator)
RangeIterator.iterator - iterator of Nodespublic NodeIteratorAdapter(Iterator iterator, long size)
public Node nextNode()
throws NoSuchElementException
NoSuchElementException - if there is no next node"Copyright © 2010 - 2017 Adobe Systems Incorporated. All Rights Reserved"