Uses of Class
org.apache.commons.collections4.bloomfilter.Shape
-
Packages that use Shape Package Description org.apache.commons.collections4.bloomfilter Implements Bloom filter classes and interfaces. -
-
Uses of Shape in org.apache.commons.collections4.bloomfilter
Methods in org.apache.commons.collections4.bloomfilter that return Shape Modifier and Type Method Description static ShapeShape. fromKM(int numberOfHashFunctions, int numberOfBits)Constructs a filter configuration with the specified number of hashFunctions (k) and bits (m).static ShapeShape. fromNM(int numberOfItems, int numberOfBits)Constructs a filter configuration with the specified number of items (n) and bits (m).static ShapeShape. fromNMK(int numberOfItems, int numberOfBits, int numberOfHashFunctions)Constructs a filter configuration with the specified number of items, bits and hash functions.static ShapeShape. fromNP(int numberOfItems, double probability)Constructs a filter configuration with the specified number of items (n) and desired false-positive probability (p).static ShapeShape. fromPMK(double probability, int numberOfBits, int numberOfHashFunctions)Constructs a filter configuration with a desired false-positive probability (p) and the specified number of bits (m) and hash functions (k).ShapeArrayCountingBloomFilter. getShape()ShapeBloomFilter. getShape()Gets the shape that was used when the filter was built.ShapeLayeredBloomFilter. getShape()ShapeSimpleBloomFilter. getShape()ShapeSparseBloomFilter. getShape()ShapeWrappedBloomFilter. getShape()Methods in org.apache.commons.collections4.bloomfilter with parameters of type Shape Modifier and Type Method Description static java.util.function.IntPredicateIndexFilter. create(Shape shape, java.util.function.IntPredicate consumer)Creates an instance optimized for the specified shape.IndexExtractorEnhancedDoubleHasher. indices(Shape shape)IndexExtractorHasher. indices(Shape shape)Creates an IndexExtractor for this hasher based on the Shape.Constructors in org.apache.commons.collections4.bloomfilter with parameters of type Shape Constructor Description ArrayCountingBloomFilter(Shape shape)Constructs an empty counting Bloom filter with the specified shape.LayeredBloomFilter(Shape shape, LayerManager<T> layerManager)Constructs a new instance.SimpleBloomFilter(Shape shape)Creates an empty instance.SparseBloomFilter(Shape shape)Constructs an empty BitSetBloomFilter.
-