1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
package Torello.Java.Function;

/**
 * Function-Pointer
 * <SPAN CLASS=TJF>Input:</SPAN> {@code int, int, T}
 * <SPAN CLASS=TJF>Output:</SPAN> {@code R}.
 * 
 * <BR /><BR />
 * Utilized in {@code StrCSV}
 * 
 * @param <T> The type of the third (last) input-parameter.
 * @param <R> The type of the function-output.
 */
@FunctionalInterface
public interface IntIntTFunc<T, R>
{
    /**
     * Allows a user to provide a function of two integers and one typed-{@code Object}.
     * <BR /><BR /><EMBED CLASS='external-html' DATA-FILE-ID=FUNC_INTER_METH>
     *
     * @param i First integer argument.
     * @param j Second integer argument.
     * @param t Typed {@code object} parameter.
     * @return The function result.  Result shall be of type {@code 'R'}
     */
    public R apply(int i, int j, T t);
}