java.io.Serializablepublic final class SizeTerm extends IntegerComparisonTerm
comparison, EQ, GE, GT, LE, LT, NEnumber| Constructor | Description |
|---|---|
SizeTerm(int comparison,
int size) |
Constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
equals(java.lang.Object obj) |
Equality comparison.
|
boolean |
match(Message msg) |
The match method.
|
getComparison, getNumber, hashCode, matchpublic SizeTerm(int comparison,
int size)
comparison - the Comparison typesize - the sizepublic boolean match(Message msg)
match in class SearchTermmsg - the size comparator is applied to this Message's sizepublic boolean equals(java.lang.Object obj)
equals in class IntegerComparisonTermCopyright © 2018 Oracle. All rights reserved.