Interface QuadConsumer<T,​U,​S,​V>

  • Type Parameters:
    T - the type of the first argument to the function
    U - the type of the second argument to the function
    S - the type of the third argument to the function
    V - the type of the fourth argument to the function
    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,​S,​V>
    Represents an operation that accepts four arguments and returns no result. This is the quad-arity specialization of Consumer.

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

    See Also:
    Consumer
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void accept​(T firstParam, U secondParam, S thirdParam, V fourthParam)
      Performs operation on the given arguments.
    • Method Detail

      • accept

        void accept​(@Nullable
                    T firstParam,
                    @Nullable
                    U secondParam,
                    @Nullable
                    S thirdParam,
                    @Nullable
                    V fourthParam)
        Performs operation on the given arguments.
        Parameters:
        firstParam - the first argument.
        secondParam - the second argument.
        thirdParam - the third argument.
        fourthParam - the fourth argument.