Interface Checked.Function<A, B, E extends Exception>

Type Parameters:
A - the type of the input to the function
B - the type of the result of the function
E - The type of exception potentially thrown
Enclosing class:
Checked
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 static interface Checked.Function<A, B, E extends Exception>
Represents a Checked.Function that may throw an exception.
Since:
4.4.0
  • Method Summary

    Modifier and Type
    Method
    Description
    apply(A t)
     
    default Function<A,Try<B>>
     
  • Method Details

    • apply

      B apply(A t) throws E
      Throws:
      E
    • lift

      default Function<A,Try<B>> lift()