Package org.apache.hadoop.hbase.util
Class AvlUtil
java.lang.Object
org.apache.hadoop.hbase.util.AvlUtil
Helper class that allows to create and manipulate an AvlTree. The main utility is in cases where
over time we have a lot of add/remove of the same object, and we want to avoid all the
allocations/deallocations of the "node" objects that the java containers will create.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic classHelper class that allows to create and manipulate a linked list of AvlLinkedNodesstatic interfaceAvlUtil.AvlKeyComparator<TNode extends AvlUtil.AvlNode>The AvlTree allows to lookup an object using a custom key.static classThis class extends the AvlNode and adds two links that will be used in conjunction with the AvlIterableList class.static classAvlUtil.AvlNode<TNode extends AvlUtil.AvlNode>This class represent a node that will be used in an AvlTree.static interfaceAvlUtil.AvlNodeVisitor<TNode extends AvlUtil.AvlNode>Visitor that allows to traverse a set of AvlNodes.static classHelper class that allows to create and manipulate an AVL Treestatic classAvlUtil.AvlTreeIterator<TNode extends AvlUtil.AvlNode>Iterator for the AvlTree -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
AvlUtil
private AvlUtil()
-