Class ZFastTrie.InternalNode<U>
java.lang.Object
it.unimi.dsi.sux4j.util.ZFastTrie.Node<U>
it.unimi.dsi.sux4j.util.ZFastTrie.InternalNode<U>
A internal node.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected longThe length of the extent (for leaves, this is equal to the length of the transformedkey(TransformationStrategy), which is returned byextentLength(TransformationStrategy)).protected ZFastTrie.Node<U> The left jump pointer.protected ZFastTrie.Node<U> The right jump pointer.protected ZFastTrie.Node<U> The left subtrie.protected ZFastTrie.Leaf<U> The leaf whose key this node refers to.protected ZFastTrie.Node<U> The right subtrie.Fields inherited from class ZFastTrie.Node
nameLength -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionit.unimi.dsi.bits.BitVectorlongextentLength(it.unimi.dsi.bits.TransformationStrategy<? super U> transform) it.unimi.dsi.bits.BitVectorlongbooleanintercepts(long h) booleanbooleanisLeaf()longit.unimi.dsi.bits.BitVectorMethods inherited from class ZFastTrie.Node
handleHash, handleLength, isExitNodeOf, isExitNodeOf, leftLeaf, rightLeaf, toString, toString
-
Field Details
-
extentLength
protected long extentLengthThe length of the extent (for leaves, this is equal to the length of the transformedkey(TransformationStrategy), which is returned byextentLength(TransformationStrategy)). -
left
The left subtrie. -
right
The right subtrie. -
jumpLeft
The left jump pointer. -
jumpRight
The right jump pointer. -
reference
The leaf whose key this node refers to.
-
-
Constructor Details
-
InternalNode
protected InternalNode()
-
-
Method Details
-
handleLength
public long handleLength() -
jumpLength
public long jumpLength() -
isLeaf
public boolean isLeaf()- Overrides:
isLeafin classZFastTrie.Node<U>
-
isInternal
public boolean isInternal()- Overrides:
isInternalin classZFastTrie.Node<U>
-
intercepts
public boolean intercepts(long h) - Specified by:
interceptsin classZFastTrie.Node<U>
-
extent
public it.unimi.dsi.bits.BitVector extent(it.unimi.dsi.bits.TransformationStrategy<? super U> transform) - Specified by:
extentin classZFastTrie.Node<U>
-
extentLength
- Specified by:
extentLengthin classZFastTrie.Node<U>
-
key
public it.unimi.dsi.bits.BitVector key(it.unimi.dsi.bits.TransformationStrategy<? super U> transform) - Specified by:
keyin classZFastTrie.Node<U>
-
handle
public it.unimi.dsi.bits.BitVector handle(it.unimi.dsi.bits.TransformationStrategy<? super U> transform) - Specified by:
handlein classZFastTrie.Node<U>
-