1 package io.atlassian.fugue.extensions.functions;
2
3 /**
4 * Represents a function that accepts six arguments and produces a result.
5 * <p>
6 * This is a functional interface whose functional method is
7 * {@link #apply(Object, Object, Object, Object, Object, Object)}.
8 *
9 * @param <A> the type of the first argument to the function
10 * @param <B> the type of the second argument to the function
11 * @param <C> the type of the third argument to the function
12 * @param <D> the type of the fourth argument to the function
13 * @param <E> the type of the fifth argument to the function
14 * @param <F> the type of the sixth argument to the function
15 * @param <Z> the type of the result of the function
16 * @see java.util.function.Function
17 * @see java.util.function.BiFunction
18 * @since 4.7.0
19 */
20 @FunctionalInterface public interface Function6<A, B, C, D, E, F, Z> {
21
22 /**
23 * Applies this function to the given arguments.
24 *
25 * @param a the first function argument
26 * @param b the second function argument
27 * @param c the third function argument
28 * @param d the fourth function argument
29 * @param e the fifth function argument
30 * @param f the sixth function argument
31 * @return the function result
32 */
33 Z apply(A a, B b, C c, D d, E e, F f);
34
35 }