Interface MessageComparator

    • Method Detail

      • isPrior

        boolean isPrior​(Message m1,
                        Message m2)
        Compares the 2 messages for time ordering. Returns true if the first message is earlier than the second, false otherwise.
        Parameters:
        m1 - The first message.
        m2 - The second message.
        Returns:
        true if the first message is earlier than the second, false otherwise.
        Throws:
        NullPointerException - if an argument is null and this comparator does not permit null arguments