Interface ThrowableFunction<T,R,E extends Throwable>

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 ThrowableFunction<T,R,E extends Throwable> extends Function<T,R>
  • Method Summary

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

    Methods inherited from interface java.util.function.Function

    andThen, compose
  • Method Details

    • apply

      default R apply(T t)
      Specified by:
      apply in interface Function<T,R>
    • applyNow

      R applyNow(T var1) throws E
      Throws:
      E