Enum Class DefaultHashType

java.lang.Object
java.lang.Enum<DefaultHashType>
io.karma.kommons.hash.DefaultHashType
All Implemented Interfaces:
HashType, Serializable, Comparable<DefaultHashType>, Constable

@API(status=STABLE) public enum DefaultHashType extends Enum<DefaultHashType> implements HashType
Since:
05/08/2022
  • Enum Constant Details

  • Field Details

    • internalName

      public final String internalName
    • digestSize

      public final int digestSize
  • Method Details

    • values

      public static DefaultHashType[] 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 DefaultHashType 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
    • getDigestSize

      public int getDigestSize()
      Specified by:
      getDigestSize in interface HashType
    • getInternalName

      public String getInternalName()
      Specified by:
      getInternalName in interface HashType