public class LogicalBinaryCondition extends DefaultStepCondition
| Modifier and Type | Method and Description |
|---|---|
static LogicalBinaryCondition |
and(StepCondition left,
StepCondition right)
Returns a binary condition that returns true if the given left and right conditions evaluate to true.
|
static LogicalBinaryCondition |
or(StepCondition left,
StepCondition right)
Returns a binary condition that returns true if the given left or right conditions evaluate to true.
|
metadata, predicatetoStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitand, not, orpublic static LogicalBinaryCondition and(StepCondition left, StepCondition right)
This operation depends on Context.isShortCircuit(). It won't change the predicate value, but might
impact performance and tree evaluation.
left - the left conditionright - the right conditionpublic static LogicalBinaryCondition or(StepCondition left, StepCondition right)
This operation depends on Context.isShortCircuit(). It won't change the predicate value, but might
impact performance and tree evaluation.
left - the left conditionright - the right condition