public static interface Signature.SignatureOperator extends java.util.function.UnaryOperator<java.util.List<DataType>>
Modifier and Type | Method and Description |
---|---|
default Signature.SignatureOperator |
and(Signature.SignatureOperator secondary)
Adds a secondary operator to this operator, which is executed with the result of this operator if a match
occurs.
|
default Signature.SignatureOperator |
preCondition(java.util.function.Predicate<java.util.List<DataType>> predicate)
Adds a precondition before the operator which should evaluate to true in order for the operator
to be evaluated.
|
default Signature.SignatureOperator preCondition(java.util.function.Predicate<java.util.List<DataType>> predicate)
predicate
- a predicate which represents the preconditiondefault Signature.SignatureOperator and(Signature.SignatureOperator secondary)
secondary
- the operator which will be evaluated with this operator's success result