1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23 | package Torello.Java.Function;
/**
* Function-Pointer
* <SPAN CLASS=TJF>Input:</SPAN> {@code NONE}
* <SPAN CLASS=TJF>Output:</SPAN> {@code char}.
*
* <BR /><BR />
* Quite similar to Java's {@code 'IntSupplier'}, the specialized 'Supplier' for
* primitive-integers, but whose {@code 'get'} method has been modified to return a
* {@code 'char'}-primitive.
*/
@FunctionalInterface
public interface CharSupplier
{
/**
* Retrieves a result, as a {@code 'char'}.
* <BR /><BR /><EMBED CLASS='external-html' DATA-FILE-ID=FUNC_INTER_METH>
*
* @return The {@code 'char'} result.
*/
public char getAsChar();
}
|