Package org.miaixz.bus.core.lang
Enum Class EnumMap.Naming
- All Implemented Interfaces:
Serializable,Comparable<EnumMap.Naming>,Constable
命名模式
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription粗体或增加强度驼峰形式驼峰转下划线小写形式驼峰转下划线大写形式弱化(降低强度)斜体转换为小写默认/正常转换为大写 -
Method Summary
Modifier and TypeMethodDescriptionstatic EnumMap.NamingReturns the enum constant of this class with the specified name.static EnumMap.Naming[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NORMAL
默认/正常 -
BOLD
粗体或增加强度 -
FAINT
弱化(降低强度) -
ITALIC
斜体 -
UPPER_CASE
转换为大写 -
LOWER_CASE
转换为小写 -
CAMEL
驼峰形式 -
CAMEL_UNDERLINE_UPPER_CASE
驼峰转下划线大写形式 -
CAMEL_UNDERLINE_LOWER_CASE
驼峰转下划线小写形式
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-