Package | Description |
---|---|
org.apache.hadoop.hbase.util |
Modifier and Type | Method and Description |
---|---|
static <TNode extends AvlUtil.AvlNode> |
AvlUtil.AvlTree.get(TNode root,
Object key,
AvlUtil.AvlKeyComparator<TNode> keyComparator) |
static <TNode extends AvlUtil.AvlNode> |
AvlUtil.AvlTree.insert(TNode root,
Object key,
AvlUtil.AvlKeyComparator<TNode> keyComparator,
AvlUtil.AvlInsertOrReplace<TNode> insertOrReplace)
Insert a node into the tree.
|
static <TNode extends AvlUtil.AvlNode> |
AvlUtil.AvlTree.remove(TNode root,
Object key,
AvlUtil.AvlKeyComparator<TNode> keyComparator)
Removes the node matching the specified key from the tree
|
static <TNode extends AvlUtil.AvlNode> |
AvlUtil.AvlTree.remove(TNode root,
Object key,
AvlUtil.AvlKeyComparator<TNode> keyComparator,
AtomicBoolean removed)
Removes the node matching the specified key from the tree
|
void |
AvlUtil.AvlTreeIterator.seekTo(TNode root,
Object key,
AvlUtil.AvlKeyComparator<TNode> keyComparator)
Reset the iterator, and seeks to the specified key
|
Constructor and Description |
---|
AvlTreeIterator(TNode root,
Object key,
AvlUtil.AvlKeyComparator<TNode> keyComparator)
Create the iterator starting from the specified key
|
Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.