net.jetblack.feedbus.util.invokable.OctaryFunction Maven / Gradle / Ivy
package net.jetblack.feedbus.util.invokable;
/**
* A function taking eight arguments.
* @param The type of the first argument.
* @param The type of the second argument.
* @param The type of the third argument.
* @param The type of the fourth argument.
* @param The type of the fifth argument.
* @param The type of the sixth argument.
* @param The type of the seventh argument.
* @param The type of the eighth argument.
* @param The return type of the function.
*/
public interface OctaryFunction {
/**
* Invoke the function.
* @param arg1 The first argument.
* @param arg2 The second argument.
* @param arg3 The third argument.
* @param arg4 The fourth argument.
* @param arg5 The fifth argument.
* @param arg6 The sixth argument.
* @param arg7 The seventh argument.
* @param arg8 The eighth argument.
* @return The result of the function.
*/
public R invoke(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8);
}