Package it.unimi.dsi.sux4j.util
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 it.unimi.dsi.sux4j.util.ZFastTrie.Node
nameLength -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionextent(TransformationStrategy<? super U> transform) longextentLength(TransformationStrategy<? super U> transform) handle(TransformationStrategy<? super U> transform) booleanintercepts(long h) booleanbooleanisLeaf()key(TransformationStrategy<? super U> transform) Methods inherited from class it.unimi.dsi.sux4j.util.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
- 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
- Specified by:
extentin classZFastTrie.Node<U>
-
extentLength
- Specified by:
extentLengthin classZFastTrie.Node<U>
-
key
- Specified by:
keyin classZFastTrie.Node<U>
-