Package com.squarespace.cldrengine.api
Enum NumberSystemCategory
- java.lang.Object
-
- java.lang.Enum<NumberSystemCategory>
-
- com.squarespace.cldrengine.api.NumberSystemCategory
-
- All Implemented Interfaces:
StringEnum<NumberSystemCategory>
,java.io.Serializable
,java.lang.Comparable<NumberSystemCategory>
public enum NumberSystemCategory extends java.lang.Enum<NumberSystemCategory> implements StringEnum<NumberSystemCategory>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEFAULT
FINANCE
NATIVE
TRADITIONAL
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NumberSystemCategory
fromString(java.lang.String s)
java.lang.String
value()
static NumberSystemCategory
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static NumberSystemCategory[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEFAULT
public static final NumberSystemCategory DEFAULT
-
NATIVE
public static final NumberSystemCategory NATIVE
-
FINANCE
public static final NumberSystemCategory FINANCE
-
TRADITIONAL
public static final NumberSystemCategory TRADITIONAL
-
-
Method Detail
-
values
public static NumberSystemCategory[] 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 (NumberSystemCategory c : NumberSystemCategory.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NumberSystemCategory 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<NumberSystemCategory>
-
fromString
public static NumberSystemCategory fromString(java.lang.String s)
-
-