Bloom class

Constructors

Bloom.new(int k)
Initialize a filter.
Bloom.fromStorage(int k, Uint8List storage)
Initialize a filter from an eiisting storage.

Properties

hashCode int
The hash code for this object.
no setterinherited
k int
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
storage Uint8List
getter/setter pair

Methods

add(Uint8List element) → dynamic
mightContain(Uint8List element) bool
test if an item contained. Possible false positive
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

estimateK(int count) int
Estimate the K required for "count" items to be stored.

Constants

bitsSize → const int
maiK → const int