1 package io.atlassian.fugue.extensions.functions;
2
3 /**
4 * Represents a predicate (boolean-valued function) of five arguments.
5 * <p>
6 * This is afunctional interface whose functional method is
7 * {@link #test(Object, Object, Object, Object, Object, Object)}.
8 *
9 * @param <A> the type of the first argument to the predicate
10 * @param <B> the type of the second argument to the predicate
11 * @param <C> the type of the third argument to the predicate
12 * @param <D> the type of the fourth argument to the predicate
13 * @param <E> the type of the fifth argument to the predicate
14 * @param <F> the type of the sixth argument to the predicate
15 * @see java.util.function.Predicate
16 * @see java.util.function.BiPredicate
17 * @since 4.7.0
18 */
19 @FunctionalInterface public interface Predicate6<A, B, C, D, E, F> {
20
21 /**
22 * Evaluates this predicate on the given arguments.
23 *
24 * @param a the first input argument
25 * @param b the second input argument
26 * @param c the third input argument
27 * @param d the fourth input argument
28 * @param e the fifth input argument
29 * @param f the sixth input argument
30 * @return {@code true} if the input arguments match the predicate, otherwise
31 * {@code false}
32 */
33 boolean test(A a, B b, C c, D d, E e, F f);
34
35 }