Uses of Interface
org.apache.commons.collections4.bloomfilter.IndexProducer
Package
Description
Collects extensible Bloom filter classes and interfaces.
-
Uses of IndexProducer in org.apache.commons.collections4.bloomfilter
Modifier and TypeInterfaceDescriptioninterface
The interface that describes a Bloom filter.interface
Some Bloom filter implementations use a count rather than a bit flag.interface
The interface that describes a Bloom filter that associates a count with each bit index rather than a bit.Modifier and TypeClassDescriptionfinal class
A counting Bloom filter using an int array to track cells for each enabled bit.class
Layered Bloom filters are described in Zhiwang, Cen; Jungang, Xu; Jian, Sun (2010), "A multi-layer Bloom filter for duplicated URL detection", Proc.final class
A bloom filter using an array of bit maps to track enabled bits.final class
A bloom filter using a TreeSet of integers to track enabled bits.class
An abstract class to assist in implementing Bloom filter decorators.Modifier and TypeMethodDescriptionstatic IndexProducer
IndexProducer.fromBitMapProducer
(BitMapProducer producer) Creates an IndexProducer from aBitMapProducer
.static IndexProducer
IndexProducer.fromIndexArray
(int... values) Creates an IndexProducer from an array of integers.Creates an IndexProducer for this hasher based on the Shape.default IndexProducer
BloomFilter.uniqueIndices()
Most Bloom filters create unique IndexProducers.default IndexProducer
CellProducer.uniqueIndices()
default IndexProducer
CountingBloomFilter.uniqueIndices()
default IndexProducer
IndexProducer.uniqueIndices()
Creates an IndexProducer comprising the unique indices for this producer.Modifier and TypeMethodDescriptionboolean
ArrayCountingBloomFilter.contains
(IndexProducer indexProducer) boolean
BloomFilter.contains
(IndexProducer indexProducer) Returnstrue
if this filter contains the indices specified IndexProducer.boolean
LayeredBloomFilter.contains
(IndexProducer indexProducer) boolean
SimpleBloomFilter.contains
(IndexProducer indexProducer) boolean
SparseBloomFilter.contains
(IndexProducer indexProducer) boolean
WrappedBloomFilter.contains
(IndexProducer indexProducer) int[]
LayeredBloomFilter.find
(IndexProducer indexProducer) Finds the layers in which the IndexProducer is found.static CellProducer
CellProducer.from
(IndexProducer producer) Creates a CellProducer from an IndexProducer.static BitMapProducer
BitMapProducer.fromIndexProducer
(IndexProducer producer, int numberOfBits) Creates a BitMapProducer from an IndexProducer.default int
CountingBloomFilter.getMaxInsert
(IndexProducer idxProducer) Determines the maximum number of times the IndexProducer could have been merged into this counting filter.boolean
BloomFilter.merge
(IndexProducer indexProducer) Merges the specified IndexProducer into this Bloom filter.default boolean
CountingBloomFilter.merge
(IndexProducer indexProducer) Merges the specified index producer into this Bloom filter.boolean
LayeredBloomFilter.merge
(IndexProducer indexProducer) boolean
SimpleBloomFilter.merge
(IndexProducer indexProducer) boolean
SparseBloomFilter.merge
(IndexProducer indexProducer) boolean
WrappedBloomFilter.merge
(IndexProducer indexProducer) default boolean
CountingBloomFilter.remove
(IndexProducer indexProducer) Removes the values from the specified IndexProducer from the Bloom filter from this Bloom filter.