001package Torello.Java.Function;
002
003/**
004 * Function-Pointer
005 * <SPAN CLASS=TJF>Input:</SPAN> {@code A, B, C, D}
006 * <SPAN CLASS=TJF>Output:</SPAN> {@code long}.
007 * 
008 * <BR /><BR />
009 * <EMBED CLASS="external-html" DATA-FILE-ID=TOPRIMBIGF>
010 * <EMBED CLASS="globalDefs" DATA-Out=Long DATA-In=Quad DATA-Number=four>
011 * @param <A> The type of the first input-parameter.
012 * @param <B> The type of the second input-parameter.
013 * @param <C> The type of the third input-parameter.
014 * @param <D> The type of the last input-parameter.
015 */
016@FunctionalInterface
017public interface ToLongQuadFunction<A, B, C, D>
018{
019    /**
020     * Applies {@code 'this'} integer-function to the given arguments, and returns the resulting
021     * {@code 'long'}
022     * @param a the first input argument
023     * @param b the second input argument
024     * @param c the third input argument
025     * @param d the fourth input argument
026     * @return The {@code 'long'} result.
027     */
028    public long applyAsLong(A a, B b, C c, D d);
029}