Interface BiOperation<T,U>

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 BiOperation<T,U>
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(T t, U u)
    Performs this operation on the given argument.Allows Operation to throw Exception (This interface is in essence a BiConsumer that allows the throwing of Exceptions)
  • Method Details

    • accept

      void accept(T t, U u) throws Exception
      Performs this operation on the given argument.Allows Operation to throw Exception (This interface is in essence a BiConsumer that allows the throwing of Exceptions)
      Parameters:
      t - the input argument
      u -
      Throws:
      Exception
      Since:
      29.2