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 byte}.
 * 
 * <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 'byte'}-primitive.
 */
@FunctionalInterface
public interface ByteSupplier
{
    /**
     * Retrieves a result, as a {@code 'byte'}.
     * <BR /><BR /><EMBED CLASS='external-html' DATA-FILE-ID=FUNC_INTER_METH>
     *
     * @return The {@code 'byte'} result.
     */
    public byte getAsByte();
}