Package org.dmfs.jems2
Interface Single<T>
-
- All Superinterfaces:
Fragile<T,java.lang.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.
@FunctionalInterface public interface Single<T> extends Fragile<T,java.lang.RuntimeException>
A 1-tuple.A Single is a tuple with exactly one value.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Tvalue()Returns the sole value of this 1-tuple.
-