Interface ThrowableFunction<T,U,V extends Throwable>

Type Parameters:
T - The type of the first argument
U - The type to return
V - The type to throw
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,U,V extends Throwable>
Functional interface representing an operation which takes in an argument and returns a result but may throw an error
Author:
Lehlogonolo Poole
  • Method Summary

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

    • apply

      U apply(T t) throws V
      Throws:
      V