001package Torello.Java.Function; 002 003/** 004 * Function-Pointer 005 * <SPAN CLASS=TJF>Input:</SPAN> {@code int, char} 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@FunctionalInterface 013public interface ToCharIntCharFunc 014{ 015 /** 016 * This method must take an {@code 'int'} and a {@code 'char'}, and return a {@code 'char'}. 017 * <BR /><BR /><EMBED CLASS='external-html' DATA-FILE-ID=FUNC_INTER_METH> 018 * 019 * @param i The first input-parameter, of type {@code 'int'}. 020 * @param c The second input-parameter, of type {@code 'char'}. 021 * @return The {@code 'char'} result. 022 */ 023 public char apply(int i, char c); 024}