public final class MessageNumberTerm extends IntegerComparisonTerm
numbercomparison, EQ, GE, GT, LE, LT, NE| Constructor and Description |
|---|
MessageNumberTerm(int number)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object other) |
boolean |
match(Message msg)
Returns true if the message number of the given message is equal to the
message number specified in this term.
|
getComparison, getNumber, hashCode, matchpublic MessageNumberTerm(int number)
number - the message number to matchpublic boolean match(Message msg)
match in class SearchTermpublic boolean equals(java.lang.Object other)
equals in class IntegerComparisonTerm© Copyright 2003, 2004 The Free Software Foundation, All rights reserved