public final class MessageNumberTerm extends IntegerComparisonTerm
number
comparison, EQ, GE, GT, LE, LT, NE
Constructor and Description |
---|
MessageNumberTerm(int number)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Equality comparison.
|
boolean |
match(Message msg)
The match method.
|
getComparison, getNumber, hashCode, match
public MessageNumberTerm(int number)
number
- the Message numberpublic boolean match(Message msg)
match
in class SearchTerm
msg
- the Message number is matched with this Messagepublic boolean equals(Object obj)
equals
in class IntegerComparisonTerm
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.