is Compatible
Returns true
if the specified filter is compatible with this
filter. f
is considered compatible if this
filter can use it in combinatoric operations (e.g. addAll, containsAll).
For two bloom filters to be compatible, they must:
- not be the same instance
- have the same number of hash functions
- have the same bit size
- have the same strategy
- have equal funnels
Return
true
if the specified filter is compatible with this
filter
Parameters
f
filter to check for compatibility with this
filter
See also
<a target="guavadoc" href="http://google. github. io/guava/releases/snapshot/api/docs/com/google/common/hash/Bloom Filter. html#is Compatible(com. google. common. hash. Bloom Filter)">com. google. common. hash. Bloom Filter#is Compatible(com. google. common. hash. Bloom Filter)</a>
Throws
if the specified filter is null