public class LogicalNaryCondition extends DefaultStepCondition
| Modifier and Type | Method and Description |
|---|---|
static IntegerFunction |
count(java.util.List<StepCondition> steps)
Returns an integer condition that returns the number of the given conditions that evaluate to true.
|
static LogicalNaryCondition |
matchAll(java.util.List<StepCondition> steps)
Returns a nary condition that returns true if all the given steps evaluate to true.
|
static LogicalNaryCondition |
matchAny(java.util.List<StepCondition> steps)
Returns a nary condition that returns true if any of the given steps evaluate to true.
|
static LogicalNaryCondition |
matchNone(java.util.List<StepCondition> steps)
Returns a nary condition that returns true if none the given steps evaluate to true.
|
metadata, predicatetoStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitand, not, ormarkdown, markdown, readable, readablepublic static IntegerFunction count(java.util.List<StepCondition> steps)
This operation depends on Context.isShortCircuit(). It won't change the predicate value, but might
impact performance and tree evaluation.
steps - the conditions to countpublic static LogicalNaryCondition matchAny(java.util.List<StepCondition> steps)
This operation depends on Context.isShortCircuit(). It won't change the predicate value, but might
impact performance and tree evaluation.
steps - the conditions to matchpublic static LogicalNaryCondition matchAll(java.util.List<StepCondition> steps)
This operation depends on Context.isShortCircuit(). It won't change the predicate value, but might
impact performance and tree evaluation.
steps - the conditions to matchpublic static LogicalNaryCondition matchNone(java.util.List<StepCondition> steps)
This operation depends on Context.isShortCircuit(). It won't change the predicate value, but might
impact performance and tree evaluation.
steps - the conditions to match