Module iu.util
Package edu.iu

Interface UnsafeBiFunction<T,U,R>

Type Parameters:
T - First argument type
U - Second argument type
R - 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 UnsafeBiFunction<T,U,R>
Equivalent to BiFunction, but may throw any exception.
  • Method Summary

    Modifier and Type
    Method
    Description
    apply(T firstArgument, U secondArgument)
    Applies two arguments to a function that uses unsafe code.
  • Method Details

    • apply

      R apply(T firstArgument, U secondArgument) throws Throwable
      Applies two arguments to a function that uses unsafe code.
      Parameters:
      firstArgument - The first argument.
      secondArgument - The second argument.
      Returns:
      The result.
      Throws:
      Throwable - If thrown by the unsafe code.