class BloomFilter extends AbstractFilter {

  @Override
  public void add(Key key) {
    if(key == null) {
      throw new NullPointerException("key cannot be null");
    }

    int[] h = hash.hash(key);
    hash.clear();

    for(int i = 0; i < nbHash; i++) {
      bits.set(h[i]);
    }
  }

  public  BloomFilter();
  public  BloomFilter(int vectorSize, int nbHash, int hashType);

}