Package | Description |
---|---|
org.apache.cassandra.utils.btree |
Modifier and Type | Class and Description |
---|---|
static class |
UpdateFunction.NoOp<V> |
Modifier and Type | Method and Description |
---|---|
static <V> java.lang.Object[] |
BTree.build(java.util.Collection<V> source,
java.util.Comparator<V> comparator,
boolean sorted,
UpdateFunction<V> updateF) |
static <V> java.lang.Object[] |
BTree.build(java.lang.Iterable<V> source,
int size,
java.util.Comparator<V> comparator,
boolean sorted,
UpdateFunction<V> updateF)
Creates a BTree containing all of the objects in the provided collection
|
static <V> java.lang.Object[] |
BTree.update(java.lang.Object[] btree,
java.util.Comparator<V> comparator,
java.util.Collection<V> updateWith,
boolean updateWithIsSorted,
UpdateFunction<V> updateF) |
static <V> java.lang.Object[] |
BTree.update(java.lang.Object[] btree,
java.util.Comparator<V> comparator,
java.lang.Iterable<V> updateWith,
int updateWithLength,
boolean updateWithIsSorted,
UpdateFunction<V> updateF)
Returns a new BTree with the provided set inserting/replacing as necessary any equal items
|
Copyright © 2016 The Apache Software Foundation