Package com.ibm.icu.impl
Enum CurrencyData.CurrencySpacingInfo.SpacingPattern
- java.lang.Object
-
- java.lang.Enum<CurrencyData.CurrencySpacingInfo.SpacingPattern>
-
- com.ibm.icu.impl.CurrencyData.CurrencySpacingInfo.SpacingPattern
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<CurrencyData.CurrencySpacingInfo.SpacingPattern>
- Enclosing class:
- CurrencyData.CurrencySpacingInfo
public static enum CurrencyData.CurrencySpacingInfo.SpacingPattern extends java.lang.Enum<CurrencyData.CurrencySpacingInfo.SpacingPattern>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COUNT
CURRENCY_MATCH
INSERT_BETWEEN
SURROUNDING_MATCH
-
Constructor Summary
Constructors Modifier Constructor Description private
SpacingPattern()
private
SpacingPattern(int value)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CurrencyData.CurrencySpacingInfo.SpacingPattern
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CurrencyData.CurrencySpacingInfo.SpacingPattern[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CURRENCY_MATCH
public static final CurrencyData.CurrencySpacingInfo.SpacingPattern CURRENCY_MATCH
-
SURROUNDING_MATCH
public static final CurrencyData.CurrencySpacingInfo.SpacingPattern SURROUNDING_MATCH
-
INSERT_BETWEEN
public static final CurrencyData.CurrencySpacingInfo.SpacingPattern INSERT_BETWEEN
-
COUNT
public static final CurrencyData.CurrencySpacingInfo.SpacingPattern COUNT
-
-
Method Detail
-
values
public static CurrencyData.CurrencySpacingInfo.SpacingPattern[] 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 (CurrencyData.CurrencySpacingInfo.SpacingPattern c : CurrencyData.CurrencySpacingInfo.SpacingPattern.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CurrencyData.CurrencySpacingInfo.SpacingPattern 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
-
-