Interface CheckedSupplier<T,E extends java.lang.Throwable>
-
- All Superinterfaces:
java.util.function.Supplier<T>
- 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 CheckedSupplier<T,E extends java.lang.Throwable> extends java.util.function.Supplier<T>
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description TcheckedGet()default Tget()static <T1,E1 extends java.lang.Throwable>
CheckedSupplier<T1,E1>of(CheckedSupplier<T1,E1> supplier)
-
-
-
Method Detail
-
checkedGet
T checkedGet() throws E extends java.lang.Throwable
- Throws:
E extends java.lang.Throwable
-
of
static <T1,E1 extends java.lang.Throwable> CheckedSupplier<T1,E1> of(CheckedSupplier<T1,E1> supplier)
-
-