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

/**
 * <CODE>ToCharIntTFunc Documentation.</CODE><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'}.
     * @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);
}