Interface ThrowingFunction<T,R>

Type Parameters:
T - the type of the argument to the function
R - the type of the result of the function
All Superinterfaces:
Function<T,R>
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 ThrowingFunction<T,R> extends Function<T,R>
A Function that declares checked exception.
Since:
5.7
  • Method Summary

    Modifier and Type
    Method
    Description
    default R
    apply(T t)
     
    Apply given items.

    Methods inherited from interface java.util.function.Function

    andThen, compose