public enum BooleanOperation extends java.lang.Enum<BooleanOperation> implements Operation
| Enum Constant and Description |
|---|
AND
Boolean and.
|
NOT
Boolean negation.
|
OR
Boolean or.
|
XOR
Boolean xor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Boolean |
execute(Namespace namespace,
java.lang.String oper,
java.lang.Boolean arg) |
java.lang.Boolean |
execute(Namespace namespace,
java.lang.String oper,
java.lang.Boolean left,
java.lang.Boolean right) |
static BooleanOperation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BooleanOperation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BooleanOperation NOT
public static final BooleanOperation AND
public static final BooleanOperation OR
public static final BooleanOperation XOR
public static BooleanOperation[] values()
for (BooleanOperation c : BooleanOperation.values()) System.out.println(c);
public static BooleanOperation 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.Boolean execute(Namespace namespace, java.lang.String oper, java.lang.Boolean arg) throws ErrorException
ErrorExceptionpublic java.lang.Boolean execute(Namespace namespace, java.lang.String oper, java.lang.Boolean left, java.lang.Boolean right) throws ErrorException
ErrorExceptionCopyright © 2007-2020 Whitestein Technologies. All Rights Reserved.