public static enum Categories.Fixed extends java.lang.Enum<Categories.Fixed>
Modifier and Type | Method and Description |
---|---|
static Categories.Fixed |
fromString(java.lang.String value)
Convert from a string representation of Fixed to an instance.
|
java.lang.String |
toString()
Returns the string representation of this instance, suitable for use in
output.
|
static Categories.Fixed |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Categories.Fixed[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Categories.Fixed NO
public static final Categories.Fixed YES
public static Categories.Fixed[] values()
for (Categories.Fixed c : Categories.Fixed.values()) System.out.println(c);
public static Categories.Fixed 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 java.lang.String toString()
toString
in class java.lang.Enum<Categories.Fixed>
public static Categories.Fixed fromString(java.lang.String value)
valueOf(String)
this method will return null if an enum for the
given value does not exist.value
- the string representation to look up.null
if
none was found.