Module aeonics.core
Package aeonics.util

Interface Functions.Supplier<R>

  • Type Parameters:
    R - the return type
    Enclosing class:
    Functions
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public static interface Functions.Supplier<R>
    Supplier that can throw an exeption
    • Method Detail

      • get

        R get()
        throws java.lang.Exception
        Gets a result.
        Returns:
        the return value
        Throws:
        java.lang.Exception - if an error happens