Package org.apache.hadoop.hbase.util
Class AvlUtil.AvlNode<TNode extends AvlUtil.AvlNode>
java.lang.Object
org.apache.hadoop.hbase.util.AvlUtil.AvlNode<TNode>
- Direct Known Subclasses:
AvlUtil.AvlLinkedNode
- Enclosing class:
- AvlUtil
This class represent a node that will be used in an AvlTree. Instead of creating another object
for the tree node, like the TreeMap and the other java contains, here the node can be extended
and the content can be embedded directly in the node itself. This is useful in cases where over
time we have a lot of add/remove of the same object.
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
avlLeft
-
avlRight
-
avlHeight
-
-
Constructor Details
-
AvlNode
public AvlNode()
-
-
Method Details
-
compareTo
-