Package org.apache.flink.util.function
Interface SupplierWithException<R,E extends Throwable>
-
- Type Parameters:
R
- The type of the result of the supplier.E
- The type of Exceptions thrown by this function.
- All Known Subinterfaces:
CheckedSupplier<R>
,SerializableSupplierWithException<T,E>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@Public @FunctionalInterface public interface SupplierWithException<R,E extends Throwable>
A functional interface for aSupplier
that may throw exceptions.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description R
get()
Gets the result of this supplier.
-