package info.ebenoit.ebul.func; /** * Represents a supplier of {@code float}-valued results. This is the {@code float}-producing primitive specialisation * of {@link java.util.function.Supplier}. * *

* There is no requirement that a distinct result be returned each time the supplier is invoked. * *

* This is a {@link java.util.function functional interface} whose functional method is {@link #getAsFloat()}. * * @see java.util.function.Supplier * * @author E. BenoƮt */ @FunctionalInterface public interface FloatSupplier { /** * Gets a result. * * @return a result */ public float getAsFloat( ); }