code: public void merge(LongBloomFilter other) {
      if (bits.data.length != other.bits.data.length ||
          numHashFunctions != other.getNumHashFunctions() ||
          hashing.type() != other.hashing.type()) {
        throw new IllegalArgumentException("BloomFilters must have same size, number of hash functions, and hash type");
      }
  
      bits.putAll(other.bits);
    }
docs: Merge with another {@link LongBloomFilter}. The other bloom filter must have the same size, number of hash
  functions, and hashing type.
  
  @param other the other {@link LongBloomFilter} to merge with.