Interface BiFunctionRaisingIOE<T,U,R>

Type Parameters:
T - type of arg1
U - type of arg2
R - type of return value.
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 BiFunctionRaisingIOE<T,U,R>
Function of arity 2 which may raise an IOException.
  • Method Summary

    Modifier and Type
    Method
    Description
    apply(T t, U u)
    Apply the function.
    default R
    unchecked(T t, U u)
    Apply unchecked.
  • Method Details

    • apply

      R apply(T t, U u) throws IOException
      Apply the function.
      Parameters:
      t - argument 1
      u - argument 2
      Returns:
      result
      Throws:
      IOException - Any IO failure
    • unchecked

      default R unchecked(T t, U u)
      Apply unchecked.
      Parameters:
      t - argument
      u - argument 2
      Returns:
      the evaluated function
      Throws:
      UncheckedIOException - IOE raised.