Package e.java
Interface UnsafeSupplier<A>
- Type Parameters:
A
- Type of value to be supplied
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A helper functional interface marking a value to be supplied in an unsafe way
-
Method Summary
-
Method Details
-
get
Gets a value in an unsafe way- Returns:
- Value if nothing is thrown
- Throws:
Throwable
- If something goes wrong while getting the value
-