public static enum SVOElement.NUMBER extends java.lang.Enum<SVOElement.NUMBER>
Modifier and Type | Method and Description |
---|---|
static SVOElement.NUMBER |
getNumber(int ct)
Given a count, return singular or plural.
|
static SVOElement.NUMBER |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SVOElement.NUMBER[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SVOElement.NUMBER SINGULAR
public static final SVOElement.NUMBER PLURAL
public static SVOElement.NUMBER[] values()
for (SVOElement.NUMBER c : SVOElement.NUMBER.values()) System.out.println(c);
public static SVOElement.NUMBER 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 nullpublic static SVOElement.NUMBER getNumber(int ct)
ct
-