Package it.unimi.dsi.sux4j.util
Class ZFastTrie.InternalNode<U>
- java.lang.Object
-
- it.unimi.dsi.sux4j.util.ZFastTrie.Node<U>
-
- it.unimi.dsi.sux4j.util.ZFastTrie.InternalNode<U>
-
protected static final class ZFastTrie.InternalNode<U> extends ZFastTrie.Node<U>
A internal node.
-
-
Field Summary
Fields Modifier and Type Field Description protected longextentLengthThe length of the extent (for leaves, this is equal to the length of the transformedkey(it.unimi.dsi.bits.TransformationStrategy<? super U>), which is returned byextentLength(TransformationStrategy)).protected ZFastTrie.Node<U>jumpLeftThe left jump pointer.protected ZFastTrie.Node<U>jumpRightThe right jump pointer.protected ZFastTrie.Node<U>leftThe left subtrie.protected ZFastTrie.Leaf<U>referenceThe leaf whose key this node refers to.protected ZFastTrie.Node<U>rightThe right subtrie.-
Fields inherited from class it.unimi.dsi.sux4j.util.ZFastTrie.Node
nameLength
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedInternalNode()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description it.unimi.dsi.bits.BitVectorextent(it.unimi.dsi.bits.TransformationStrategy<? super U> transform)longextentLength(it.unimi.dsi.bits.TransformationStrategy<? super U> transform)it.unimi.dsi.bits.BitVectorhandle(it.unimi.dsi.bits.TransformationStrategy<? super U> transform)longhandleLength()booleanintercepts(long h)booleanisInternal()booleanisLeaf()longjumpLength()it.unimi.dsi.bits.BitVectorkey(it.unimi.dsi.bits.TransformationStrategy<? super U> transform)-
Methods inherited from class it.unimi.dsi.sux4j.util.ZFastTrie.Node
handleHash, handleLength, isExitNodeOf, isExitNodeOf, leftLeaf, rightLeaf, toString, toString
-
-
-
-
Field Detail
-
extentLength
protected long extentLength
The length of the extent (for leaves, this is equal to the length of the transformedkey(it.unimi.dsi.bits.TransformationStrategy<? super U>), which is returned byextentLength(TransformationStrategy)).
-
left
protected ZFastTrie.Node<U> left
The left subtrie.
-
right
protected ZFastTrie.Node<U> right
The right subtrie.
-
jumpLeft
protected ZFastTrie.Node<U> jumpLeft
The left jump pointer.
-
jumpRight
protected ZFastTrie.Node<U> jumpRight
The right jump pointer.
-
reference
protected ZFastTrie.Leaf<U> reference
The leaf whose key this node refers to.
-
-
Method Detail
-
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
public long extentLength(it.unimi.dsi.bits.TransformationStrategy<? super U> transform)
- 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>
-
-