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
28
package Torello.Java.Function;

/**
 * Function-Pointer
 * <SPAN CLASS=TJF>Input:</SPAN> {@code int, T}
 * <SPAN CLASS=TJF>Output:</SPAN> {@code char}.
 * 
 * <BR /><BR />
 * For a LAMBDA or method that accepts two primitive-inputs ({@code 'int'} and {@code 'char'}),
 * and returns a {@code 'char'}.
 * 
 * @param <T> The type of the second (last) input-parameter.
 */
@FunctionalInterface
public interface ToCharIntTFunc<T>
{
    /**
     * This method must take an {@code 'int'} and an instance of generic-type {@code 'T'}, and
     * return a {@code 'char'}.
     * 
     * <BR /><BR /><EMBED CLASS='external-html' DATA-FILE-ID=FUNC_INTER_METH>
     *
     * @param i The first input-parameter, of type {@code 'int'}.
     * @param t The second input-parameter, of generic-type {@code 'T'}.
     * @return The {@code 'char'} result.
     */
    public char apply(int i, T t);
}