V - value typepublic class CritBit64COW<V> extends CritBit64<V> implements Iterable<V>
CritBit64.AtomicInfo<V>, CritBit64.CBIterator<V>, CritBit64.Entry<V>, CritBit64.Node<V>, CritBit64.QueryIterator<V>, CritBit64.QueryIteratorMask<V>| Modifier and Type | Method and Description |
|---|---|
boolean |
checkTree() |
boolean |
contains(long key)
Check whether a given key exists in the tree.
|
CritBit64COW<V> |
copy() |
static <V> CritBit64COW<V> |
create()
Create a 1D crit-bit tree with 64 bit key length.
|
V |
get(long key)
Get the value for a given key.
|
void |
printTree() |
V |
put(long key,
V val)
Add a key value pair to the tree or replace the value if the key already exists.
|
V |
remove(long key)
Remove a key and its value
|
int |
size()
Get the size of the tree.
|
String |
toString() |
iterator, query, queryWithMaskclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, iterator, spliteratorpublic static <V> CritBit64COW<V> create()
V - value typepublic CritBit64COW<V> copy()
public V put(long key, V val)
public int size()
public boolean contains(long key)
public V get(long key)
Copyright © 2017. All rights reserved.