Package org.dmfs.jems2
Interface Fragile<T,E extends java.lang.Exception>
-
- All Known Subinterfaces:
Single<T>
- All Known Implementing Classes:
Backed,Broken,Collected,DelegatingFragile,DelegatingSingle,Digest,Frozen,Hex,Just,Mapped,NonNull,Reduced,Unchecked,Zipped
- 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 Fragile<T,E extends java.lang.Exception>A 1-tuple that may throw anExceptionduring retrieval of the value.Fragiles are immutable and return an equal (also immutable) value for every invocation.
- See Also:
Single
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Tvalue()Retrieve the value.
-