Class ZFastTrie.Leaf<U>
java.lang.Object
it.unimi.dsi.sux4j.util.ZFastTrie.Node<U>
it.unimi.dsi.sux4j.util.ZFastTrie.Leaf<U>
An external node, a.k.a. leaf.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected UThe key associated to this leaf.protected ZFastTrie.Leaf<U> The next leaf.protected ZFastTrie.Leaf<U> The previous leaf.protected ZFastTrie.InternalNode<U> The internal node that refers to the key of this leaf, if any.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.BitVectorbooleanintercepts(long h) booleanbooleanisLeaf()it.unimi.dsi.bits.BitVectorMethods inherited from class ZFastTrie.Node
handleHash, handleLength, isExitNodeOf, isExitNodeOf, leftLeaf, rightLeaf, toString, toString
-
Field Details
-
prev
The previous leaf. -
next
The next leaf. -
key
The key associated to this leaf. -
reference
The internal node that refers to the key of this leaf, if any. It will benullfor exactly one leaf.
-
-
Constructor Details
-
Leaf
protected Leaf()
-
-
Method Details
-
handle
public it.unimi.dsi.bits.BitVector handle(it.unimi.dsi.bits.TransformationStrategy<? super U> transform) - Specified by:
handlein classZFastTrie.Node<U>
-
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>
-