public static enum Number.Category extends java.lang.Enum<Number.Category>
| Modifier and Type | Method and Description |
|---|---|
static Number.Category |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Number.Category[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Number.Category zero
public static final Number.Category one
public static final Number.Category two
public static final Number.Category few
public static final Number.Category many
public static final Number.Category other
public static Number.Category[] values()
for (Number.Category c : Number.Category.values()) System.out.println(c);
public static Number.Category valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null