Interface CheckedFunction<T,R>

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 CheckedFunction<T,R> extends Function<T,R>
A function which wraps all exceptions in runtime exceptions so that expressions throwing checked exceptions can be nicely used in the Stream API
  • Method Summary

    Modifier and Type
    Method
    Description
    default R
    apply(T t)
     
     

    Methods inherited from interface java.util.function.Function

    andThen, compose