- capacity() - Method in class com.duprasville.guava.probably.BloomFilter
-
Returns the number of elements this filter can represent at its requested FPP
.
- capacity() - Method in class com.duprasville.guava.probably.CuckooFilter
-
Returns the number of elements this filter can represent at its requested FPP
.
- capacity() - Method in interface com.duprasville.guava.probably.ProbabilisticFilter
-
Returns the number of elements this filter can represent at its requested FPP
.
- clear() - Method in class com.duprasville.guava.probably.BloomFilter
-
Removes all of the elements from this filter.
- clear() - Method in class com.duprasville.guava.probably.CuckooFilter
-
Removes all of the elements from this filter.
- clear() - Method in interface com.duprasville.guava.probably.ProbabilisticFilter
-
Removes all of the elements from this filter (optional operation).
- com.duprasville.guava.probably - package com.duprasville.guava.probably
-
Probabilistic data structures for Guava.
- contains(E) - Method in class com.duprasville.guava.probably.BloomFilter
-
Returns true
if this filter might contain the specified element, false
if this is definitely not the case.
- contains(E) - Method in class com.duprasville.guava.probably.CuckooFilter
-
Returns true
if this filter might contain the specified element, false
if this is definitely not the case.
- contains(E) - Method in interface com.duprasville.guava.probably.ProbabilisticFilter
-
Returns true
if this filter might contain the specified element, false
if this is definitely not the case.
- containsAll(Collection<? extends E>) - Method in class com.duprasville.guava.probably.BloomFilter
-
Returns true
if this filter might contain all of the elements of the specified
collection (optional operation).
- containsAll(ProbabilisticFilter<E>) - Method in class com.duprasville.guava.probably.BloomFilter
-
Not supported.
- containsAll(Collection<? extends E>) - Method in class com.duprasville.guava.probably.CuckooFilter
-
Returns true
if this filter might contain all of the elements of the specified
collection.
- containsAll(ProbabilisticFilter<E>) - Method in class com.duprasville.guava.probably.CuckooFilter
-
Returns true
if this filter might contain all elements contained in the
specified filter.
- containsAll(Collection<? extends E>) - Method in interface com.duprasville.guava.probably.ProbabilisticFilter
-
Returns true
if this filter might contain all of the elements of the specified
collection (optional operation).
- containsAll(ProbabilisticFilter<E>) - Method in interface com.duprasville.guava.probably.ProbabilisticFilter
-
Returns true
if this filter might contain all elements contained in the
specified filter (optional operation).
- copy() - Method in class com.duprasville.guava.probably.CuckooFilter
-
- copyOf(BloomFilter<T>) - Static method in class com.duprasville.guava.probably.BloomFilter
-
Creates a new
BloomFilter
that's a copy of this instance.
- create(Funnel<T>, long, double) - Static method in class com.duprasville.guava.probably.BloomFilter
-
Creates a
BloomFilter
with the expected number of insertions and expected false
positive probability.
- create(Funnel<T>, long) - Static method in class com.duprasville.guava.probably.BloomFilter
-
Creates a
BloomFilter
with the expected number of insertions and a
default expected false positive probability of 3%.
- create(Funnel<? super T>, long, double) - Static method in class com.duprasville.guava.probably.CuckooFilter
-
Creates a filter with the expected number of insertions and expected false positive
probability.
- create(Funnel<? super T>, long) - Static method in class com.duprasville.guava.probably.CuckooFilter
-
Creates a filter with the expected number of insertions and a default expected false positive
probability of 3.2%.
- CuckooFilter<E> - Class in com.duprasville.guava.probably
-
- CuckooStrategies - Enum in com.duprasville.guava.probably
-
Collections of strategies of generating the f-bit fingerprint, index i1 and index i2 required for
an element to be mapped to a CuckooTable of m buckets with hash function h.
- currentFpp() - Method in class com.duprasville.guava.probably.BloomFilter
-
Returns the current false positive probability (FPP
) of this filter.
- currentFpp() - Method in class com.duprasville.guava.probably.CuckooFilter
-
Returns the current false positive probability (FPP
) of this filter.
- currentFpp() - Method in interface com.duprasville.guava.probably.ProbabilisticFilter
-
Returns the current false positive probability (FPP
) of this filter.