Interface FragileFunction<Argument,Result,E extends Exception>

All Known Subinterfaces:
Function<Argument,Value>
All Known Implementing Classes:
Clamping, DelegatingFunction, DiffMap, IdentityFunction, SingleFunction, 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 FragileFunction<Argument,Result,E extends Exception>
An unary function that can throw a checked Exception.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    value(Argument argument)
    Returns the value of this function at the given argument.
  • Method Details

    • value

      Result value(Argument argument) throws E
      Returns the value of this function at the given argument.
      Throws:
      E extends Exception