com.gmail.thejcwk.semantics.phrases
Enum Filter.OPERATION
java.lang.Object
java.lang.Enum<Filter.OPERATION>
com.gmail.thejcwk.semantics.phrases.Filter.OPERATION
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<Filter.OPERATION>
- Enclosing class:
- Filter
public static enum Filter.OPERATION
- extends java.lang.Enum<Filter.OPERATION>
|
Method Summary |
static Filter.OPERATION |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Filter.OPERATION[] |
values()
Returns an array containing the constants of this enum type, in
the order they're declared. |
| Methods inherited from class java.lang.Enum |
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
ADD
public static final Filter.OPERATION ADD
REMOVE
public static final Filter.OPERATION REMOVE
ISOLATE
public static final Filter.OPERATION ISOLATE
values
public static final Filter.OPERATION[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(Filter.OPERATION c : Filter.OPERATION.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static Filter.OPERATION 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 name