public final class SizeTerm extends IntegerComparisonTerm
number
comparison, EQ, GE, GT, LE, LT, NE
Constructor and Description |
---|
SizeTerm(int comparison,
int size)
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 SizeTerm(int comparison, int size)
comparison
- the Comparison typesize
- the sizepublic boolean match(Message msg)
match
in class SearchTerm
msg
- the size comparator is applied to this Message's sizepublic boolean equals(Object obj)
equals
in class IntegerComparisonTerm
Copyright © 1996-2018, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.