Class MessageNumberTerm

    • Constructor Detail

      • MessageNumberTerm

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

      • match

        public boolean match​(Message msg)
        The match method.
        Specified by:
        match in class SearchTerm
        Parameters:
        msg - the Message number is matched with this Message
        Returns:
        true if the match succeeds, otherwise false