Interface CheckedBiFunction<S,T,V,E extends Exception>

Type Parameters:
S - first parameter-type
T - second parameter-type
V - return-type
E - exception-type that can be thrown
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 CheckedBiFunction<S,T,V,E extends Exception>
Like BiFunction but can also throw a checked exception.
Author:
Owen Feehan
  • Method Summary

    Modifier and Type
    Method
    Description
    apply(S first, T second)
    Calls the function.
  • Method Details

    • apply

      V apply(S first, T second) throws E
      Calls the function.
      Parameters:
      first - first parameter.
      second - second parameter.
      Returns:
      the return-value from the function.
      Throws:
      E - an exception that may be thrown.