Class MurmurHash3Parameters

    • Constructor Detail

      • MurmurHash3Parameters

        public MurmurHash3Parameters​(MurmurHash3Variant variant)
        Constructs a MurmurHash3Parameters with the given variant and a seed value of zero.
        Parameters:
        variant - the variant of the algorithm
      • MurmurHash3Parameters

        public MurmurHash3Parameters​(MurmurHash3Variant variant,
                                     int seed)
        Constructs a MurmurHash3Parameters with the given variant and seed value.
        Parameters:
        variant - the variant of the algorithm
        seed - the seed value
    • Method Detail

      • variant

        public MurmurHash3Variant variant()
        Returns the variant of the hash algorithm.
        Returns:
        the algorithm variant
      • seed

        public int seed()
        Returns the seed value for the hash function.
        Returns:
        the seed value
      • algorithm

        public java.lang.String algorithm()
        Description copied from interface: HashParameters
        Returns the canonical name of the hash algorithm.
        Specified by:
        algorithm in interface HashParameters
        Returns:
        the name of the hash algorithm