001package Torello.Java.Function;
002
003/**
004 * Function-Pointer
005 * <SPAN CLASS=TJF>Input:</SPAN> {@code int, T}
006 * <SPAN CLASS=TJF>Output:</SPAN> {@code char}.
007 * 
008 * <BR /><BR />
009 * For a LAMBDA or method that accepts two primitive-inputs ({@code 'int'} and {@code 'char'}),
010 * and returns a {@code 'char'}.
011 * 
012 * @param <T> The type of the second (last) input-parameter.
013 */
014@FunctionalInterface
015public interface ToCharIntTFunc<T>
016{
017    /**
018     * This method must take an {@code 'int'} and an instance of generic-type {@code 'T'}, and
019     * return a {@code 'char'}.
020     * 
021     * <BR /><BR /><EMBED CLASS='external-html' DATA-FILE-ID=FUNC_INTER_METH>
022     *
023     * @param i The first input-parameter, of type {@code 'int'}.
024     * @param t The second input-parameter, of generic-type {@code 'T'}.
025     * @return The {@code 'char'} result.
026     */
027    public char apply(int i, T t);
028}