Interface BooleanFunction6<A,B,C,D,E,F>
-
- Type Parameters:
A- type of the first parameterB- type of the second parameterC- type of the third parameterD- type of the fourth parameterE- type of the fifth parameterF- type of the sixth parameter
- All Superinterfaces:
ConstraintFunction
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface BooleanFunction6<A,B,C,D,E,F> extends ConstraintFunction
A helper function used to define constraints which involves six parameters.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description booleanapply(A a, B b, C c, D d, E e, F f)Checks whether the value combination give for the parameters is allowed.default booleancheck(List<?> arguments)Checks whether the given values are a valid combination or one which should not appear.
-
-
-
Method Detail
-
check
default boolean check(List<?> arguments)
Description copied from interface:ConstraintFunctionChecks whether the given values are a valid combination or one which should not appear.- Specified by:
checkin interfaceConstraintFunction- Parameters:
arguments- the values- Returns:
trueiff the values form a valid combination
-
apply
boolean apply(A a, B b, C c, D d, E e, F f)
Checks whether the value combination give for the parameters is allowed.- Parameters:
a- the value for the first parameterb- the value for the second parameterc- the value for the third parameterd- the value for the fourth parameterse- the value for the fifth parametersf- the value for the sixth parameters- Returns:
- whether the value combination is allowed
-
-