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.

@FunctionalInterface public interface Single<T> extends Fragile<T,RuntimeException>
A 1-tuple.

A Single is a tuple with exactly one value.

  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the sole value of this 1-tuple.