public final class SizeTerm extends IntegerComparisonTerm
numbercomparison, EQ, GE, GT, LE, LT, NE| 构造器和说明 |
|---|
SizeTerm(int comparison,
int size)
Constructor.
|
public SizeTerm(int comparison,
int size)
comparison - the Comparison typesize - the sizepublic boolean match(Message msg)
match 在类中 SearchTermmsg - the size comparator is applied to this Message's sizepublic boolean equals(Object obj)
equals 在类中 IntegerComparisonTermCopyright © 2021 Oracle. All rights reserved.