Enum Class MurmurHash3Variant

java.lang.Object
java.lang.Enum<MurmurHash3Variant>
com.scurrilous.circe.params.MurmurHash3Variant
All Implemented Interfaces:
Serializable, Comparable<MurmurHash3Variant>, Constable

public enum MurmurHash3Variant extends Enum<MurmurHash3Variant>
Enumeration of MurmurHash3 variants.
  • Enum Constant Details

    • X86_32

      public static final MurmurHash3Variant X86_32
      32-bit variant (optimized for x86).
    • X86_128

      public static final MurmurHash3Variant X86_128
      128-bit variant optimized for x86.
    • X64_128

      public static final MurmurHash3Variant X64_128
      128-bit variant optimized for x64.
  • Method Details

    • values

      public static MurmurHash3Variant[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static MurmurHash3Variant valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • algorithm

      public String algorithm()
      Returns the algorithm name corresponding to this variant.
      Returns:
      this variant's algorithm name