A - type of the first parameterB - type of the second parameter@FunctionalInterface public interface BooleanFunction2<A,B> extends ConstraintFunction
| Modifier and Type | Method and Description |
|---|---|
boolean |
apply(A a,
B b)
Checks whether the value combination give for the parameters is allowed.
|
default boolean |
check(List<?> arguments)
Checks whether the given values are a valid combination or one which should not appear.
|
default boolean check(List<?> arguments)
ConstraintFunctioncheck in interface ConstraintFunctionarguments - the valuestrue iff the values form a valid combinationCopyright © 2019. All rights reserved.