Package org.dmfs.jems2
Interface Single<T>
- All Superinterfaces:
Fragile<T,RuntimeException>
- All Known Implementing Classes:
Backed,Collected,DelegatingSingle,Digest,Frozen,Hex,Just,Reduced,Unchecked
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A 1-tuple.
A Single is a tuple with exactly one value.
-
Method Summary
-
Method Details
-
value
T value()Returns the sole value of this 1-tuple.- Specified by:
valuein interfaceFragile<T,RuntimeException>
-