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
Modifier and TypeFieldDescriptionprotected U
The 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
-
Method Summary
Modifier and TypeMethodDescriptionextent
(TransformationStrategy<? super U> transform) long
extentLength
(TransformationStrategy<? super U> transform) handle
(TransformationStrategy<? super U> transform) boolean
intercepts
(long h) boolean
boolean
isLeaf()
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 benull
for exactly one leaf.
-
-
Constructor Details
-
Leaf
protected Leaf()
-
-
Method Details
-
handle
- Specified by:
handle
in classZFastTrie.Node<U>
-
isLeaf
public boolean isLeaf()- Overrides:
isLeaf
in classZFastTrie.Node<U>
-
isInternal
public boolean isInternal()- Overrides:
isInternal
in classZFastTrie.Node<U>
-
intercepts
public boolean intercepts(long h) - Specified by:
intercepts
in classZFastTrie.Node<U>
-
extent
- Specified by:
extent
in classZFastTrie.Node<U>
-
extentLength
- Specified by:
extentLength
in classZFastTrie.Node<U>
-
key
- Specified by:
key
in classZFastTrie.Node<U>
-