Interface Result.ExceptionalSupplier<T>

Type Parameters:
T - the result type supplied by this supplier.
Enclosing class:
Result<S>
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 Result.ExceptionalSupplier<T>
Represents a supplier which can throw any exception when executing.
Since:
1.0
  • Method Summary

    Modifier and Type
    Method
    Description
    get()
    Get the result of the supply.
  • Method Details

    • get

      @Nullable T get() throws Throwable
      Get the result of the supply.
      Returns:
      the result.
      Throws:
      Throwable - if any exception occurs while evaluating the result of this supplier.