public boolean isPresent(ByteBuffer key) { for (long bucketIndex : getHashBuckets(key)) { if (!bitset.fastGet(bucketIndex)) { return false; } } return true; }
@Override public boolean isPresent(byte[] key, int offset, int length) { for (long bucketIndex : getHashBuckets(key, offset, length)) { if (!bitset.fastGet(bucketIndex)) { return false; } } return true; }