public boolean contains(List<Integer> hashes){
  Iterator<Integer> ni=hashes.iterator();
  for (int i=0; i < hashFunctions; ++i) {
    if (!testBit((int)((ni.next() & 0xFFFFFFFFL) % (filter.length * 8)))) {
      return false;
    }
  }
  return true;
}

public boolean contains ( List < Integer > hashes ) { Iterator < Integer > ni = hashes . iterator ( ) ; for ( int i = 0 ; i < hashFunctions ; ++ i ) { if ( ! testBit ( ( int ) ( ( ni . next ( ) & 0xFFFFFFFFL ) % ( filter . length * 8 ) ) ) ) { return false ; } } return true ; }
check if the filter contains data with precomputed hashes .
