Interface TriConsumer<T,​U,​V>

  • Type Parameters:
    T - first object to be processed
    U - second object to be processed
    V - third object to be processed
    All Known Implementing Classes:
    PathFlowUpdateConsumer, PathLinkFlowUpdateConsumer, PathTurnFlowUpdateConsumer
    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 TriConsumer<T,​U,​V>
    Function Interface which can process three 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)
        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