Class BloomFilters


  • public final class BloomFilters
    extends Object
    Factory methods for creating bloom filters with various requirements.
    • Method Detail

      • create

        public static <T> BloomFilters.BloomFilterBuilder<T> create​(com.google.common.hash.Funnel<? super T> funnel)
        Creates a BloomFilters.BloomFilterBuilder to begin configuration of a particular bloom filter.
        Type Parameters:
        T - the type of elements to be contained in the bloom filter.
        Parameters:
        funnel - the funnel to use to hash elements of the bloom filter.
        Returns:
        a builder object to continue configuration of the bloom filter.
        See Also:
        Funnels