View Javadoc
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)}.
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   * @see java.util.function.Predicate
15   * @see java.util.function.BiPredicate
16   * @since 4.7.0
17   */
18  @FunctionalInterface public interface Predicate5<A, B, C, D, E> {
19  
20    /**
21     * Evaluates this predicate on the given arguments.
22     *
23     * @param a the first input argument
24     * @param b the second input argument
25     * @param c the third input argument
26     * @param d the fourth input argument
27     * @param e the fifth input argument
28     * @return {@code true} if the input arguments match the predicate, otherwise
29     * {@code false}
30     */
31    boolean test(A a, B b, C c, D d, E e);
32  
33  }