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

/**
 * Function-Pointer
 * <SPAN CLASS=TJF>Input:</SPAN> {@code int, char}
 * <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'}.
 */
@FunctionalInterface
public interface ToCharIntCharFunc
{
    /**
     * This method must take an {@code 'int'} and a {@code 'char'}, 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 c The second input-parameter, of type {@code 'char'}.
     * @return The {@code 'char'} result.
     */
    public char apply(int i, char c);
}