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>TheThrowingSupplierrepresents a supplier of a value, of typeTwhich, when failing, throws an exception of typeE.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Tget()Gets the value.
-