Interface ITypedThrowingSupplier<T, E extends Throwable>
- Type Parameters:
T- The type of results supplied by this supplier.E- The type of exception that may be thrown.
- All Superinterfaces:
Supplier<T>
- All Known Subinterfaces:
IInputStreamSupplier, ISerializableInputStreamSupplier, ISerializableThrowingSupplier<T>, IThrowingSupplier<T>, ITypedSerializableThrowingSupplier<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.
@FunctionalInterface
public interface ITypedThrowingSupplier<T, E extends Throwable>
extends Supplier<T>
A
Supplier that may throw a single typed checked exception.
Represents a supplier of results.
There is no requirement that a new or distinct result be returned each time the supplier is invoked.
This is a functional interface whose functional method is tryGet().
- Since:
- 8.2.0
- Author:
- XIMA MEDIA GmbH
-
Method Summary
-
Method Details
-
get
-
tryGet
-