Package org.wildfly.common.format
Enum NumericFlag
- java.lang.Object
-
- java.lang.Enum<NumericFlag>
-
- org.wildfly.common.format.NumericFlag
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<NumericFlag>
public enum NumericFlag extends java.lang.Enum<NumericFlag>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LOCALE_GROUPING_SEPARATORS
NEGATIVE_PARENTHESES
SIGN
SPACE_POSITIVE
ZERO_PAD
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static NumericFlag
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static NumericFlag[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SIGN
public static final NumericFlag SIGN
-
SPACE_POSITIVE
public static final NumericFlag SPACE_POSITIVE
-
ZERO_PAD
public static final NumericFlag ZERO_PAD
-
LOCALE_GROUPING_SEPARATORS
public static final NumericFlag LOCALE_GROUPING_SEPARATORS
-
NEGATIVE_PARENTHESES
public static final NumericFlag NEGATIVE_PARENTHESES
-
-
Method Detail
-
values
public static NumericFlag[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (NumericFlag c : NumericFlag.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NumericFlag valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-