Interface ThrowingFunction0<R>

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

    public interface ThrowingFunction0<R>
    An nullary function which may throw a throwable.
    • Method Detail

      • apply

        R apply()
         throws Throwable
        Applies the function to.
        the result of the function.
        Throwable - if anything is thrown.