Package com.squarespace.cldrengine.api
Enum NumberSymbolType
- java.lang.Object
-
- java.lang.Enum<NumberSymbolType>
-
- com.squarespace.cldrengine.api.NumberSymbolType
-
- All Implemented Interfaces:
StringEnum<NumberSymbolType>
,java.io.Serializable
,java.lang.Comparable<NumberSymbolType>
public enum NumberSymbolType extends java.lang.Enum<NumberSymbolType> implements StringEnum<NumberSymbolType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description APPROXIMATELYSIGN
CURRENCYDECIMAL
CURRENCYGROUP
DECIMAL
EXPONENTIAL
GROUP
INFINITY
LIST
MINUSSIGN
NAN
PERCENTSIGN
PERMILLE
PLUSSIGN
SUPERSCRIPTINGEXPONENT
TIMESEPARATOR
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NumberSymbolType
fromString(java.lang.String s)
java.lang.String
value()
static NumberSymbolType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static NumberSymbolType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
APPROXIMATELYSIGN
public static final NumberSymbolType APPROXIMATELYSIGN
-
CURRENCYDECIMAL
public static final NumberSymbolType CURRENCYDECIMAL
-
CURRENCYGROUP
public static final NumberSymbolType CURRENCYGROUP
-
DECIMAL
public static final NumberSymbolType DECIMAL
-
EXPONENTIAL
public static final NumberSymbolType EXPONENTIAL
-
GROUP
public static final NumberSymbolType GROUP
-
INFINITY
public static final NumberSymbolType INFINITY
-
LIST
public static final NumberSymbolType LIST
-
MINUSSIGN
public static final NumberSymbolType MINUSSIGN
-
NAN
public static final NumberSymbolType NAN
-
PERMILLE
public static final NumberSymbolType PERMILLE
-
PERCENTSIGN
public static final NumberSymbolType PERCENTSIGN
-
PLUSSIGN
public static final NumberSymbolType PLUSSIGN
-
SUPERSCRIPTINGEXPONENT
public static final NumberSymbolType SUPERSCRIPTINGEXPONENT
-
TIMESEPARATOR
public static final NumberSymbolType TIMESEPARATOR
-
-
Method Detail
-
values
public static NumberSymbolType[] 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 (NumberSymbolType c : NumberSymbolType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NumberSymbolType 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
-
value
public java.lang.String value()
- Specified by:
value
in interfaceStringEnum<NumberSymbolType>
-
fromString
public static NumberSymbolType fromString(java.lang.String s)
-
-