public class Or extends CompositeExpression
| Constructor and Description |
|---|
Or(Expression... expressions)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
accept(Visitor visitor)
Accepts a visitor
|
Expression |
and(Expression expression)
Creates an And expression which will be a logical "and" of this expression and the expression passed in as a parameter
|
protected java.lang.String |
getSeparator()
Gets the separator used to separate the sub-expressions when converting the expression to a String
|
Expression |
not()
Creates a Not expression which will be the logical "not" of this epxression
|
Expression |
or(Expression expression)
Creates an Or expression which will be a logical "or" of this expression and the expression passed in as a parameter
|
getExpressions, toStringpublic Or(Expression... expressions)
expressions - the sub expressionspublic void accept(Visitor visitor)
visitor - the visitorprotected java.lang.String getSeparator()
getSeparator in class CompositeExpressionpublic Expression and(Expression expression)
and in interface Expressionexpression - the other expressionpublic Expression or(Expression expression)
or in interface Expressionexpression - the other expressionpublic Expression not()
not in interface Expression