Interface CheckedFunction<T,R,E extends Exception>

Type Parameters:
T - The type of the input to be processed.
R - The type of the result to be returned.
E - The type of the exception which may be thrown.
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 CheckedFunction<T,R,E extends Exception>
Function which can throw a checked exception.
  • Method Summary

    Modifier and Type
    Method
    Description
    apply(T input)
     
  • Method Details

    • apply

      R apply(T input) throws E
      Throws:
      E