code: public static BloomFilter create(long expectedNumItems, double fpp) {
      if (fpp <= 0D || fpp >= 1D) {
        throw new IllegalArgumentException(
          "False positive probability must be within range (0.0, 1.0)"
        );
      }
  
      return create(expectedNumItems, optimalNumOfBits(expectedNumItems, fpp));
    }
docs: Creates a {@link BloomFilter} with the expected number of insertions and expected false
  positive probability.
  
  Note that overflowing a {@code BloomFilter} with significantly more elements than specified,
  will result in its saturation, and a sharp deterioration of its false positive probability.