java.lang.Object
swim.collections.BTreePage<K,V,U>
-
Method Summary
Modifier and TypeMethodDescriptionabstract intarity()balanced(BTreeContext<K, V> tree) abstract booleancontainsKey(Object key, BTreeContext<K, V> tree) abstract booleancontainsValue(Object value) drop(int lower, BTreeContext<K, V> tree) static <K,V, U> BTreePage<K, V, U> empty()abstract Ufold()abstract Vget(Object key, BTreeContext<K, V> tree) getEntry(Object key, BTreeContext<K, V> tree) getIndex(int index) abstract intindexOf(Object key, BTreeContext<K, V> tree) abstract booleanisEmpty()abstract OrderedMapCursor<K,V> iterator()abstract KmaxKey()abstract KminKey()nextEntry(K key, BTreeContext<K, V> tree) previousEntry(K key, BTreeContext<K, V> tree) reduced(U identity, CombinerFunction<? super V, U> accumulator, CombinerFunction<U, U> combiner) removed(Object key, BTreeContext<K, V> tree) abstract OrderedMapCursor<K,V> abstract intsize()split(int index) splitLeft(int index) splitRight(int index) take(int upper, BTreeContext<K, V> tree)
-
Method Details
-
isEmpty
public abstract boolean isEmpty() -
size
public abstract int size() -
arity
public abstract int arity() -
fold
-
minKey
-
maxKey
-
containsKey
-
containsValue
-
indexOf
-
get
-
getEntry
-
getIndex
-
firstEntry
-
lastEntry
-
nextEntry
-
previousEntry
-
updated
-
removed
-
drop
-
take
-
balanced
-
split
-
splitLeft
-
splitRight
-
reduced
-
keyIterator
-
valueIterator
-
iterator
-
reverseKeyIterator
-
reverseValueIterator
-
reverseIterator
-
empty
-