public class Operation extends java.lang.Object implements Selector
An Operation allows Expressions or other Operations to be combined using
logical operators or negated.
These are also known as Combination Operators.
Expression| Modifier and Type | Method and Description |
|---|---|
static Operation |
and(Selector... rhs)
Combine two or more selectors using the "and" operator
|
static Operation |
nor(Selector... rhs)
Combine two or more selectors using the "nor" operator
|
static Operation |
not(Selector rhs)
Negate the logic of the selector
|
static Operation |
or(Selector... rhs)
Combine two or more selectors using the "or" operator
|
java.lang.String |
toString() |
public static Operation and(Selector... rhs)
rhs - varargs list of Selectorspublic static Operation or(Selector... rhs)
rhs - varargs list of Selectorspublic static Operation not(Selector rhs)
rhs - a Selectorpublic static Operation nor(Selector... rhs)
rhs - varargs list of Selectorspublic java.lang.String toString()
toString in class java.lang.Object