public abstract class Filter extends Object
Constructor and Description |
---|
Filter() |
Modifier and Type | Method and Description |
---|---|
abstract void |
add(String key) |
int[] |
getHashBuckets(byte[] key) |
int[] |
getHashBuckets(String key) |
static int[] |
getHashBuckets(String key,
int hashCount,
int max) |
int |
getHashCount() |
abstract boolean |
isPresent(String key) |
public int getHashCount()
public int[] getHashBuckets(String key)
public int[] getHashBuckets(byte[] key)
public abstract void add(String key)
public abstract boolean isPresent(String key)
public static int[] getHashBuckets(String key, int hashCount, int max)
Copyright © 2019. All rights reserved.