code: public synchronized void add(T element) {
  
      Assert.notNull(element, "Element cannot be null");
  
      int filterSize = getFilterSize();
      int hashFunctionCount = getHashFunctionCount(element);
  
      this.random.setSeed(element.hashCode());
  
      for (int count = 0; count < hashFunctionCount; count++) {
        int bitIndex = this.random.nextInt(filterSize);
        this.bitArray[bitIndex / 32] |= BIT_MASKS[bitIndex % 32];
      }
    }
docs: Adds the given element to the set managed by this {@link BloomFilter}.
  
  @param element {@link Object element} to add to this {@link BloomFilter}.
  @see #accept(Object)