Modifier and Type | Method and Description |
---|---|
static IQ.Type |
fromString(java.lang.String string)
Converts a String into the corresponding types.
|
static IQ.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IQ.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IQ.Type get
public static final IQ.Type set
public static final IQ.Type result
public static final IQ.Type error
public static IQ.Type[] values()
for (IQ.Type c : IQ.Type.values()) System.out.println(c);
public static IQ.Type 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 IQ.Type fromString(java.lang.String string)
string
- the String value to covert.java.lang.IllegalArgumentException
- when not able to parse the string parameter