Class MessageNumberTerm

    • Constructor Detail

      • MessageNumberTerm

        public MessageNumberTerm​(int number)
        Constructor.
        Parameters:
        number - the message number to match
    • Method Detail

      • match

        public boolean match​(Message msg)
        Returns true if the message number of the given message is equal to the message number specified in this term.
        Specified by:
        match in class SearchTerm