View Javadoc
1   package io.atlassian.fugue.extensions.functions;
2   
3   /**
4    * Represents a predicate (boolean-valued function) of three arguments.
5    * <p>
6    * This is afunctional interface whose functional method is
7    * {@link #test(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   * @see java.util.function.Predicate
13   * @see java.util.function.BiPredicate
14   * @since 4.7.0
15   */
16  @FunctionalInterface public interface Predicate3<A, B, C> {
17  
18    /**
19     * Evaluates this predicate on the given arguments.
20     *
21     * @param a the first input argument
22     * @param b the second input argument
23     * @param c the third input argument
24     * @return {@code true} if the input arguments match the predicate, otherwise
25     * {@code false}
26     */
27    boolean test(A a, B b, C c);
28  
29  }