Enum Class EnumMap.Naming

java.lang.Object
java.lang.Enum<EnumMap.Naming>
org.miaixz.bus.core.lang.EnumMap.Naming
All Implemented Interfaces:
Serializable, Comparable<EnumMap.Naming>, Constable
Enclosing interface:
EnumMap<E extends EnumMap<E>>

public static enum EnumMap.Naming extends Enum<EnumMap.Naming>
命名模式
  • Enum Constant Details

    • NORMAL

      public static final EnumMap.Naming NORMAL
      默认/正常
    • BOLD

      public static final EnumMap.Naming BOLD
      粗体或增加强度
    • FAINT

      public static final EnumMap.Naming FAINT
      弱化(降低强度)
    • ITALIC

      public static final EnumMap.Naming ITALIC
      斜体
    • UPPER_CASE

      public static final EnumMap.Naming UPPER_CASE
      转换为大写
    • LOWER_CASE

      public static final EnumMap.Naming LOWER_CASE
      转换为小写
    • CAMEL

      public static final EnumMap.Naming CAMEL
      驼峰转下划线
    • CAMEL_UNDERLINE_UPPER_CASE

      public static final EnumMap.Naming CAMEL_UNDERLINE_UPPER_CASE
      驼峰转下划线大写形式
    • CAMEL_UNDERLINE_LOWER_CASE

      public static final EnumMap.Naming CAMEL_UNDERLINE_LOWER_CASE
      驼峰转下划线小写形式
  • Method Details

    • values

      public static EnumMap.Naming[] 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 EnumMap.Naming 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
    • getCode

      public long getCode()
      Returns:
      单位对应的编码
    • getName

      public String getName()
      Returns:
      对应的名称