Interface QuadConsumer<T,U,V,W>

Type Parameters:
T - the type of the first argument to the operation
U - the type of the second argument to the operation
V - the type of the third argument to the operation
W - the type of the fourth argument to the operation
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 QuadConsumer<T,U,V,W>
Represents an operation that accepts four input arguments and returns no result.

Purpose: This functional interface defines a single method that takes four parameters and performs an operation without returning a result.
When: Used when an operation needs to be performed on four inputs without producing a return value.
Where: Can be used in lambda expressions or method references that require four input parameters.
Additional Info: This is a functional interface and can be used as the assignment target for a lambda expression or method reference.

Since:
1.6.0
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(T t, U u, V v, W w)
    Performs this operation on the given arguments.
  • Method Details

    • accept

      void accept(T t, U u, V v, W w)
      Performs this operation on the given arguments.

      Purpose: This method performs an operation using four input arguments.
      When: Called to execute the operation with the provided arguments.
      Where: Invoked in contexts where an operation with four inputs is needed.
      Additional Info: The method does not return any result.

      Parameters:
      t - the first input argument
      u - the second input argument
      v - the third input argument
      w - the fourth input argument
      Since:
      1.6.0
      See Also: