public class ZFastTrieDistributor<T> extends AbstractObject2LongFunction<T> implements Size64
defRetValue| Constructor and Description |
|---|
ZFastTrieDistributor(Iterable<? extends T> elements,
int log2BucketSize,
TransformationStrategy<? super T> transformationStrategy,
ChunkedHashStore<BitVector> chunkedHashStore)
Creates a partial compacted trie using given elements, bucket size, transformation strategy, and temporary directory.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsKey(Object o) |
long |
getLong(Object o) |
long |
numBits() |
int |
size()
Deprecated.
|
long |
size64() |
clear, defaultReturnValue, defaultReturnValue, get, put, put, remove, removeLongpublic ZFastTrieDistributor(Iterable<? extends T> elements, int log2BucketSize, TransformationStrategy<? super T> transformationStrategy, ChunkedHashStore<BitVector> chunkedHashStore) throws IOException
elements - the elements among which the trie must be able to rank.log2BucketSize - the logarithm of the size of a bucket.transformationStrategy - a transformation strategy that must turn the elements in elements into a list of
distinct, lexicographically increasing (in iteration order) bit vectors.IOExceptionpublic long getLong(Object o)
getLong in interface Object2LongFunction<T>public long numBits()
public boolean containsKey(Object o)
containsKey in interface Function<T,Long>