Interface ThrowingTriConsumer<A,​B,​C>

Type Parameters:
A - the type of the first argument to the operation.
B - the type of the second argument to the operation.
C - the type of the third argument to the operation.
All Superinterfaces:
BiConsumer<A,​org.apache.commons.lang3.tuple.Pair<B,​C>>
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 ThrowingTriConsumer<A,​B,​C> extends BiConsumer<A,​org.apache.commons.lang3.tuple.Pair<B,​C>>
Represents an operation that accepts three input arguments and returns no result.

This is a functional interface whose functional method is accept(Object, Pair).

  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    accept​(A a, org.apache.commons.lang3.tuple.Pair<B,​C> p)
     
    void
    acceptThrows​(A a, B b, C c)
    Performs this operation on the given arguments.

    Methods inherited from interface java.util.function.BiConsumer

    andThen
  • Method Details

    • acceptThrows

      void acceptThrows(A a, B b, C c) throws RuntimeException
      Performs this operation on the given arguments.
      Parameters:
      a - the first input argument.
      b - the second input argument.
      c - the third input argument.
      Throws:
      RuntimeException - Thrown if any exception happens during lambda execution.
    • accept

      default void accept(A a, org.apache.commons.lang3.tuple.Pair<B,​C> p)
      Specified by:
      accept in interface BiConsumer<A,​B>