Interface LambdaUnchecker.FunctionWithExceptions<T,​R,​E extends java.lang.Exception>

Type Parameters:
T - function input type
R - function result type
E - checked exception
Enclosing class:
LambdaUnchecker
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 LambdaUnchecker.FunctionWithExceptions<T,​R,​E extends java.lang.Exception>
Functional interface for functions with checked exceptions
See Also:
Function
  • Method Summary

    Modifier and Type Method Description
    R apply​(T t)  
  • Method Details

    • apply

      R apply​(T t) throws E extends java.lang.Exception
      Parameters:
      t - consumer input
      Returns:
      function result
      Throws:
      E - checked exception
      See Also:
      Function.apply(java.lang.Object)