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