Interface Fragile<T,E extends 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 Exception>
A 1-tuple that may throw an Exception during retrieval of the value.

Fragiles are immutable and return an equal (also immutable) value for every invocation.

See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    Retrieve the value.
  • Method Details

    • value

      T value() throws E
      Retrieve the value.
      Throws:
      E extends Exception