public final class MessageNumberTerm extends IntegerComparisonTerm
number
comparison, EQ, GE, GT, LE, LT, NE
Constructor and Description |
---|
MessageNumberTerm(int number) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
boolean |
match(Message message)
Checks a matching criteria defined by the concrete subclass of this Term.
|
getComparison, getNumber, hashCode, match
public boolean match(Message message)
SearchTerm
match
in class SearchTerm
message
- the message to apply the matching criteria topublic boolean equals(Object other)
equals
in class IntegerComparisonTerm
Copyright © 2013. All Rights Reserved.