1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25 | package Torello.Java.Function;
/**
* Function-Pointer
* <SPAN CLASS=TJF>Input:</SPAN> {@code A}
* <SPAN CLASS=TJF>Output:</SPAN> {@code short}.
*
* <EMBED CLASS='external-html' DATA-TYPE=short DATA-FILE-ID=TO_PRIM_ONE_ARG>
*
* @param <A> The type of the input-parameter.
*/
@FunctionalInterface
public interface ToShortFunction<A>
{
/**
* Applies {@code 'this'} integer-function to the given argument, and returns the resulting
* {@code 'short'}
*
* <BR /><BR /><EMBED CLASS='external-html' DATA-FILE-ID=FUNC_INTER_METH>
*
* @param a the input argument
* @return The {@code 'short'} result.
*/
public short applyAsShort(A a);
}
|