Interface ThrowableSupplier<T,U extends Throwable>

Type Parameters:
T - The type returned
U - The type that can be thrown
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 ThrowableSupplier<T,U extends Throwable>
Functional interface describing a function which takes in no arguments, produces an output but may throw.
  • Method Summary

    Modifier and Type
    Method
    Description
    get()
     
  • Method Details

    • get

      T get() throws U
      Throws:
      U