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

  • Type Parameters:
    T - first object to be processed
    U - second object to be processed
    V - third object to be processed
    W - fourth object to be processed
    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>
    Function Interface which can process four input objects. Used to register initial costs in test cases. There is no equivalent functional interface in the java.util.function library so we have created this one.
    Author:
    gman6028
    • Method Detail

      • accept

        void accept​(T t,
                    U u,
                    V v,
                    W w)
             throws PlanItException
        Performs this operation on the given arguments
        Parameters:
        t - first object to be processed
        u - second object to be processed
        v - third object to be processed
        w - fourth object to be processed
        Throws:
        PlanItException - thrown if there is an error