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 © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.