public abstract class MultiValuedNodeHeapIterator.HeapNode extends Object implements Cloneable
Modifier and Type | Field and Description |
---|---|
protected boolean |
_isStartSet |
protected int |
_markedNode |
protected int |
_node |
Constructor and Description |
---|
HeapNode() |
Modifier and Type | Method and Description |
---|---|
MultiValuedNodeHeapIterator.HeapNode |
cloneHeapNode()
Creates a deep copy of this
MultiValuedNodeHeapIterator.HeapNode . |
void |
gotoMark()
Restores the current node remembered by
setMark() . |
abstract boolean |
isLessThan(MultiValuedNodeHeapIterator.HeapNode heapNode)
Performs a comparison of the two heap nodes
|
abstract MultiValuedNodeHeapIterator.HeapNode |
reset()
Reset the heap node back to its beginning.
|
void |
setMark()
Remembers the current node for the next call to
gotoMark() . |
abstract MultiValuedNodeHeapIterator.HeapNode |
setStartNode(int node)
Sets context with respect to which this heap node is evaluated.
|
abstract int |
step()
Advance to the next node represented by this
MultiValuedNodeHeapIterator.HeapNode |
protected int _node
protected int _markedNode
protected boolean _isStartSet
public abstract int step()
MultiValuedNodeHeapIterator.HeapNode
public MultiValuedNodeHeapIterator.HeapNode cloneHeapNode()
MultiValuedNodeHeapIterator.HeapNode
. The clone is not
reset from the current position of the original.public void setMark()
gotoMark()
.public void gotoMark()
setMark()
.public abstract boolean isLessThan(MultiValuedNodeHeapIterator.HeapNode heapNode)
heapNode
- the heap node against which to comparetrue
if and only if the current node for this
heap node is before the current node of the argument heap
node in document order.public abstract MultiValuedNodeHeapIterator.HeapNode setStartNode(int node)
node
- The new context nodeMultiValuedNodeHeapIterator.HeapNode
which may or may not be the same as
this HeapNode
.public abstract MultiValuedNodeHeapIterator.HeapNode reset()
MultiValuedNodeHeapIterator.HeapNode
which may or may not be the same as
this HeapNode
.Copyright © 2020 JBoss by Red Hat. All rights reserved.