001package Torello.Java.Function; 002 003/** 004 * Function-Pointer 005 * <SPAN CLASS=TJF>Input:</SPAN> {@code NONE} 006 * <SPAN CLASS=TJF>Output:</SPAN> {@code boolean}. 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 'boolean'}-primitive. 012 */ 013@FunctionalInterface 014public interface BoolSupplier 015{ 016 /** 017 * Retrieves a result, as a {@code 'boolean'}. 018 * <BR /><BR /><EMBED CLASS='external-html' DATA-FILE-ID=FUNC_INTER_METH> 019 * 020 * @return The {@code 'boolen'} result. 021 */ 022 public boolean getAsBool(); 023}