Class MessageNumberTerm

  • All Implemented Interfaces:
    java.io.Serializable

    public final class MessageNumberTerm
    extends IntegerComparisonTerm
    This class implements comparisons for Message numbers.
    See Also:
    Serialized Form
    • 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