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