Interface CheckedSupplier<R>
-
- Type Parameters:
R
- the type of the result
- 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<R>
A checked version ofSupplier
.This is intended to be used with
Unchecked
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description R
get()
Gets a result.
-