Interface ThrowingTriConsumer<I1,​I2,​I3,​T extends Throwable>

  • Type Parameters:
    I1 - the type of the first argument to the operation
    I2 - the type of the second argument to the operation
    I3 - the type of the third argument to the operation
    T - the type of the exception the accept method may throw
    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<I1,​I2,​I3,​T extends Throwable>
    Represents an operation that accepts three input arguments and returns no result and may thrown an exception.
    • Method Detail

      • accept

        void accept​(I1 i1,
                    I2 i2,
                    I3 i3)
             throws T extends Throwable
        Applies this function to the given arguments, potentially throwing an exception.
        Parameters:
        i1 - the first argument
        i2 - the second argument
        i3 - the third argument
        Throws:
        T - the exception that may be thrown
        T extends Throwable