Uses of Interface
org.apache.commons.collections4.bloomfilter.BitMapExtractor
Packages that use BitMapExtractor
Package
Description
Implements Bloom filter classes and interfaces.
-
Uses of BitMapExtractor in org.apache.commons.collections4.bloomfilter
Subinterfaces of BitMapExtractor in org.apache.commons.collections4.bloomfilterModifier and TypeInterfaceDescriptioninterfaceBloomFilter<T extends BloomFilter<T>>The interface that describes a Bloom filter.interfaceThe interface that describes a Bloom filter that associates a count with each bit index rather than a bit.Classes in org.apache.commons.collections4.bloomfilter that implement BitMapExtractorModifier and TypeClassDescriptionfinal classA counting Bloom filter using an int array to track cells for each enabled bit.classLayeredBloomFilter<T extends BloomFilter<T>>Layered Bloom filters are described in Zhiwang, Cen; Jungang, Xu; Jian, Sun (2010), "A multi-layer Bloom filter for duplicated URL detection", Proc. 3rd International Conference on Advanced Computer Theory and Engineering (ICACTE 2010), vol. 1, pp.final classA bloom filter using an array of bit maps to track enabled bits.final classA bloom filter using a TreeSet of integers to track enabled bits.classWrappedBloomFilter<T extends WrappedBloomFilter<T,W>, W extends BloomFilter<W>> An abstract class to assist in implementing Bloom filter decorators.Methods in org.apache.commons.collections4.bloomfilter that return BitMapExtractorModifier and TypeMethodDescriptionstatic BitMapExtractorBitMapExtractor.fromBitMapArray(long... bitMaps) Creates a BitMapExtractor from an array of Long.static BitMapExtractorBitMapExtractor.fromIndexExtractor(IndexExtractor extractor, int numberOfBits) Creates a BitMapExtractor from an IndexExtractor.Methods in org.apache.commons.collections4.bloomfilter with parameters of type BitMapExtractorModifier and TypeMethodDescriptionstatic intSetOperations.andCardinality(BitMapExtractor first, BitMapExtractor second) Calculates the cardinality of the logicalANDof the bit maps for the two filters.static intSetOperations.cardinality(BitMapExtractor bitMapExtractor) Calculates the cardinality of a BitMapExtractor.booleanArrayCountingBloomFilter.contains(BitMapExtractor bitMapExtractor) default booleanBloomFilter.contains(BitMapExtractor bitMapExtractor) Returnstrueif this filter contains the bits specified in the bit maps produced by the bitMapExtractor.booleanLayeredBloomFilter.contains(BitMapExtractor bitMapExtractor) booleanSparseBloomFilter.contains(BitMapExtractor bitMapExtractor) booleanWrappedBloomFilter.contains(BitMapExtractor bitMapExtractor) static doubleSetOperations.cosineDistance(BitMapExtractor first, BitMapExtractor second) Calculates the Cosine distance between two BitMapExtractor.static doubleSetOperations.cosineSimilarity(BitMapExtractor first, BitMapExtractor second) Calculates the Cosine similarity between two BitMapExtractors.int[]LayeredBloomFilter.find(BitMapExtractor bitMapExtractor) Finds the layers in which the BitMapExtractor is found.static IndexExtractorIndexExtractor.fromBitMapExtractor(BitMapExtractor bitMapExtractor) Creates an IndexExtractor from aBitMapExtractor.default intCountingBloomFilter.getMaxInsert(BitMapExtractor bitMapExtractor) Determines the maximum number of times the BitMapExtractor could have been merged into this counting filter.static intSetOperations.hammingDistance(BitMapExtractor first, BitMapExtractor second) Calculates the Hamming distance between two BitMapExtractors.static doubleSetOperations.jaccardDistance(BitMapExtractor first, BitMapExtractor second) Calculates the Jaccard distance between two BitMapExtractor.static doubleSetOperations.jaccardSimilarity(BitMapExtractor first, BitMapExtractor second) Calculates the Jaccard similarity between two BitMapExtractor.booleanBloomFilter.merge(BitMapExtractor bitMapExtractor) Merges the specified hasher into this Bloom filter.default booleanCountingBloomFilter.merge(BitMapExtractor bitMapExtractor) Merges the specified BitMap extractor into this Bloom filter.booleanLayeredBloomFilter.merge(BitMapExtractor bitMapExtractor) booleanSimpleBloomFilter.merge(BitMapExtractor bitMapExtractor) booleanSparseBloomFilter.merge(BitMapExtractor bitMapExtractor) booleanWrappedBloomFilter.merge(BitMapExtractor bitMapExtractor) static intSetOperations.orCardinality(BitMapExtractor first, BitMapExtractor second) Calculates the cardinality of the logicalORof the bit maps for the two filters.default booleanBitMapExtractor.processBitMapPairs(BitMapExtractor other, LongBiPredicate func) Applies thefuncto each bit map pair in order.booleanSimpleBloomFilter.processBitMapPairs(BitMapExtractor other, LongBiPredicate func) booleanWrappedBloomFilter.processBitMapPairs(BitMapExtractor other, LongBiPredicate func) default booleanCountingBloomFilter.remove(BitMapExtractor bitMapExtractor) Removes the specified BitMapExtractor from this Bloom filter.static intSetOperations.xorCardinality(BitMapExtractor first, BitMapExtractor second) Calculates the cardinality of the logicalXORof the bit maps for the two filters.