Interface ThrowingSupplier<T,E extends Throwable>
-
- Type Parameters:
T
- The type of value returned.E
- The type of value thrown when it is not possible to obtain the value.
public interface ThrowingSupplier<T,E extends Throwable>
TheThrowingSupplier
represents a supplier of a value, of typeT
which, when failing, throws an exception of typeE
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
get()
Gets the value.
-