code: public void add(E element) {
         long hash;
         String valString = element.toString();
         for (int x = 0; x < k; x++) {
             hash = createHash(valString + Integer.toString(x));
             hash = hash % (long)bitSetSize;
             bitset.set(Math.abs((int)hash), true);
         }
         numberOfAddedElements ++;
      }
docs: Adds an object to the Bloom filter. The output from the object's
  toString() method is used as input to the hash functions.
  
  @param element is an element to register in the Bloom filter.