Interface ThrowableBiFunction<T,​U,​R>

Type Parameters:
T - input parameter type T
U - input parameter type U
R - output return type
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 ThrowableBiFunction<T,​U,​R>
Throwable BiFunction
Since:
1.0.0
Author:
PARK Yong Seo
See Also:
Function
  • Method Summary

    Modifier and Type Method Description
    R apply​(T t, U u)  
    static <T,​ U,​ R> java.util.function.BiFunction<T,​U,​R> wrap​(ThrowableBiFunction<T,​U,​R> biFunction)
    throws Exception lambda to throws RuntimeException lambda
  • Method Details

    • apply

      R apply​(T t, U u) throws java.lang.Exception
      Parameters:
      t - input parameter type T
      u - input parameter type U
      Returns:
      output return
      Throws:
      java.lang.Exception
      See Also:
      Function
    • wrap

      static <T,​ U,​ R> java.util.function.BiFunction<T,​U,​R> wrap​(ThrowableBiFunction<T,​U,​R> biFunction)
      throws Exception lambda to throws RuntimeException lambda
      Parameters:
      biFunction -
      Returns: