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