001package Torello.Java.Function;
002
003/**
004 * Function-Pointer
005 * <SPAN CLASS=TJF>Input:</SPAN> {@code A}
006 * <SPAN CLASS=TJF>Output:</SPAN> {@code char}.
007 * 
008 * <EMBED CLASS='external-html' DATA-TYPE=char DATA-FILE-ID=TO_PRIM_ONE_ARG>
009 * 
010 * @param <A> The type of the input-parameter.
011 */
012@FunctionalInterface
013public interface ToCharFunction<A>
014{
015    /**
016     * Applies {@code 'this'} integer-function to the given argument, and returns the resulting
017     * {@code 'char'}
018     * 
019     * <BR /><BR /><EMBED CLASS='external-html' DATA-FILE-ID=FUNC_INTER_METH>
020     *
021     * @param a the input argument
022     * @return The {@code 'char'} result.
023     */
024    public char applyAsChar(A a);
025}