| Modifier and Type | Field and Description |
|---|---|
| private int | _current
Index in _nodes array to current node. |
| private int | _lastNext
Last value returned by next(). |
| private int | _markedLastNext
Temporary variable to store _lastNext. |
| private IntegerArray | _nodes
Array to cache all nodes from source. |
| private int | _nodesSize
Cardinality of _nodes array. |
| private DTMAxisIterator | _source
Reference to source iterator. |
| Access | Constructor and Description |
|---|---|
| public |
| _current | back to summary |
|---|---|
| private int _current Index in _nodes array to current node. | |
| _lastNext | back to summary |
|---|---|
| private int _lastNext Last value returned by next(). | |
| _markedLastNext | back to summary |
|---|---|
| private int _markedLastNext Temporary variable to store _lastNext. | |
| _nodes | back to summary |
|---|---|
| private IntegerArray _nodes Array to cache all nodes from source. | |
| _nodesSize | back to summary |
|---|---|
| private int _nodesSize Cardinality of _nodes array. | |
| _source | back to summary |
|---|---|
| private DTMAxisIterator _source Reference to source iterator. | |
| DupFilterIterator | back to summary |
|---|---|
| public DupFilterIterator(DTMAxisIterator source) | |
| cloneIterator | back to summary |
|---|---|
| public DTMAxisIterator cloneIterator() Overrides com. Implements com. Doc from com. Returns a deep copy of this iterator. Cloned iterators may not be restartable. The iterator being cloned may or may not become non-restartable as a side effect of this operation. | |
| gotoMark | back to summary |
|---|---|
| public void gotoMark() Implements com. Doc from com. Restores the current node remembered by setMark(). | |
| next | back to summary |
|---|---|
| public int next() Implements com. Doc from com. Get the next node in the iteration. | |
| reset | back to summary |
|---|---|
| public DTMAxisIterator reset() Overrides com. Implements com. Doc from com. Resets the iterator to the last start node. | |
| setMark | back to summary |
|---|---|
| public void setMark() Implements com. Doc from com. Remembers the current node for the next call to gotoMark(). | |
| setRestartable | back to summary |
|---|---|
| public void setRestartable(boolean isRestartable) Overrides com. Implements com. Doc from com. Set if restartable. | |
| setStartNode | back to summary |
|---|---|
| public DTMAxisIterator setStartNode(int node) Implements com. Set the start node for this iterator
| |