001package Torello.Java.Function;
002
003/**
004 * Function-Pointer
005 * <SPAN CLASS=TJF>Input:</SPAN> {@code NONE}
006 * <SPAN CLASS=TJF>Output:</SPAN> {@code short}.
007 * 
008 * <BR /><BR />
009 * Quite similar to Java's {@code 'IntSupplier'}, the specialized 'Supplier' for
010 * primitive-integers, but whose {@code 'get'} method has been modified to return a
011 * {@code 'short'}-primitive.
012 */
013@FunctionalInterface
014public interface ShortSupplier
015{
016    /**
017     * Retrieves a result, as a {@code short}-integer.
018     * <BR /><BR /><EMBED CLASS='external-html' DATA-FILE-ID=FUNC_INTER_METH>
019     *
020     * @return The {@code 'short'} result.
021     */
022    public short getAsShort();
023}