public final class SizeTerm extends IntegerComparisonTerm
numbercomparison, EQ, GE, GT, LE, LT, NE| Constructor and Description |
|---|
SizeTerm(int comparison,
int size)
Constructor.
|
| Modifier and Type | Method and 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