public void add(byte[] bytes){
  int[] hashes=createHashes(bytes,k,getNewDigestFunction());
  for (  int hash : hashes)   bitset.set(Math.abs(hash % bitSetSize),true);
  numberOfAddedElements++;
}

public void add ( byte [ ] bytes ) { int [ ] hashes = createHashes ( bytes , k , getNewDigestFunction ( ) ) ; for ( int hash : hashes ) bitset . set ( Math . abs ( hash % bitSetSize ) , true ) ; numberOfAddedElements ++ ; }
adds an array of bytes to the bloom filter .
