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 * @param <T> The type of the second (last) input-parameter.
012 */
013@FunctionalInterface
014public interface ToCharIntTFunc<T>
015{
016    /**
017     * This method must take an {@code 'int'} and an instance of generic-type {@code 'T'}, and
018     * return a {@code 'char'}.
019     * @param i The first input-parameter, of type {@code 'int'}.
020     * @param t The second input-parameter, of generic-type {@code 'T'}.
021     * @return The {@code 'char'} result.
022     */
023    public char apply(int i, T t);
024}