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.

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

    Modifier and Type
    Method
    Description
    Applies the function to.
  • Method Details

    • apply

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