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 other) |
|
boolean |
match(Message msg) |
Returns true only if the size of the given message matches the
specified size using the specified operator.
|
getComparison, getNumber, hashCode, matchpublic SizeTerm(int comparison,
int size)
comparison - the comparison operatorsize - the sizepublic boolean match(Message msg)
match in class SearchTermpublic boolean equals(java.lang.Object other)
equals in class IntegerComparisonTerm© Copyright 2003, 2004 The Free Software Foundation, All rights reserved