Pacote
Preparing search index...
@pacote/bloom-filter
CountingBloomFilter
Class CountingBloomFilter<T>
Type Parameters
T
extends
{
toString
()
:
string
}
Index
Constructors
constructor
Properties
filter
hashes
seed
size
Methods
add
has
remove
toJSON
Constructors
constructor
new
CountingBloomFilter
<
T
extends
{
toString
()
:
string
}
>
(
options
:
Options
,
)
:
CountingBloomFilter
<
T
>
Type Parameters
T
extends
{
toString
()
:
string
}
Parameters
options
:
Options
Returns
CountingBloomFilter
<
T
>
Properties
Readonly
filter
filter
:
Uint32Array
Readonly
hashes
hashes
:
number
Readonly
seed
seed
:
number
Readonly
size
size
:
number
Methods
add
add
(
element
:
T
)
:
void
Parameters
element
:
T
Returns
void
has
has
(
element
:
T
)
:
number
Parameters
element
:
T
Returns
number
remove
remove
(
element
:
T
)
:
void
Parameters
element
:
T
Returns
void
toJSON
toJSON
()
:
SerialisedCountingBloomFilter
Returns
SerialisedCountingBloomFilter
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
filter
hashes
seed
size
Methods
add
has
remove
toJSON
Pacote
Loading...