code: @Override
    public synchronized boolean accept(T element) {
  
      boolean accepted = (element != null);
  
      if (accepted) {
  
        int filterSize = getFilterSize();
        int hashFunctionCount = getHashFunctionCount(element);
  
        this.random.setSeed(element.hashCode());
  
        for (int count = 0; accepted && count < hashFunctionCount; count++) {
          int bitIndex = this.random.nextInt(filterSize);
          accepted = ((this.bitArray[bitIndex / 32] & BIT_MASKS[bitIndex % 32]) != 0);
        }
      }
  
      return accepted;
    }
docs: Determines whether the given element is a member of the set contained by this {@link BloomFilter}.
  
  @param element {@link Object element} to evaluate.
  @return a boolean value indicating whether the given element is a member of the set
  contained by this {@link BloomFilter}.
  @see java.lang.Object#hashCode()
  @see #getHashFunctionCount(Object)
  @see #add(Object)