public class NodeTypeIteratorAdapter extends RangeIteratorDecorator
RangeIterator
s or Iterator
s
into NodeTypeIterator
s.Modifier and Type | Field and Description |
---|---|
static NodeTypeIterator |
EMPTY
Static instance of an empty
NodeTypeIterator . |
Constructor and Description |
---|
NodeTypeIteratorAdapter(java.util.Collection<NodeType> collection)
Creates an iterator for the given collection.
|
NodeTypeIteratorAdapter(RangeIterator iterator)
Creates an adapter for the given
RangeIterator . |
Modifier and Type | Method and Description |
---|---|
NodeType |
nextNodeType()
Returns the next node type.
|
getPosition, getSize, hasNext, next, remove, skip
public static final NodeTypeIterator EMPTY
NodeTypeIterator
.public NodeTypeIteratorAdapter(RangeIterator iterator)
RangeIterator
.iterator
- iterator of NodeType
spublic NodeTypeIteratorAdapter(java.util.Collection<NodeType> collection)
collection
- collection of NodeType
s"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"