static final class BloomFilterStrategies.BitArray
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) long |
bitCount |
(package private) long[] |
data |
Constructor and Description |
---|
BitArray(long bits) |
BitArray(long[] data) |
Modifier and Type | Method and Description |
---|---|
(package private) long |
bitCount()
Number of set bits (1s)
|
(package private) long |
bitSize()
Number of bits
|
(package private) BloomFilterStrategies.BitArray |
copy() |
boolean |
equals(java.lang.Object o) |
(package private) boolean |
get(long index) |
int |
hashCode() |
(package private) void |
putAll(BloomFilterStrategies.BitArray array)
Combines the two BitArrays using bitwise OR.
|
(package private) boolean |
set(long index)
Returns true if the bit changed value.
|
boolean set(long index)
boolean get(long index)
long bitSize()
long bitCount()
BloomFilterStrategies.BitArray copy()
void putAll(BloomFilterStrategies.BitArray array)
public boolean equals(@Nullable java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object