java.io.Serializable
public final class MessageNumberTerm extends IntegerComparisonTerm
comparison, EQ, GE, GT, LE, LT, NE
number
Constructor | Description |
---|---|
MessageNumberTerm(int number) |
Constructor.
|
Modifier and Type | Method | 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, match
public MessageNumberTerm(int number)
number
- the message number to matchpublic boolean match(Message msg)
match
in class SearchTerm
public boolean equals(java.lang.Object other)
equals
in class IntegerComparisonTerm
© Copyright 2003, 2004 The Free Software Foundation, All rights reserved