Package jakarta.mail.search
Class ComparisonTerm
java.lang.Object
jakarta.mail.search.SearchTerm
jakarta.mail.search.ComparisonTerm
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
DateTerm
,IntegerComparisonTerm
This class models the comparison operator. This is an abstract
class; subclasses implement comparisons for different datatypes.
- Author:
- Bill Shannon, John Mani
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected int
The comparison.static final int
Equal to, "=
", comparison.static final int
Greater than or equal to, ">=
", comparison.static final int
Greater than, ">
", comparison.static final int
Less than or equal to, "<=
", comparison.static final int
Less than, "<
", comparison.static final int
Not equal to, "!=
", comparison. -
Constructor Summary
-
Method Summary
Methods inherited from class jakarta.mail.search.SearchTerm
match
-
Field Details
-
LE
public static final int LELess than or equal to, "<=
", comparison.- See Also:
-
LT
public static final int LTLess than, "<
", comparison.- See Also:
-
EQ
public static final int EQEqual to, "=
", comparison.- See Also:
-
NE
public static final int NENot equal to, "!=
", comparison.- See Also:
-
GT
public static final int GTGreater than, ">
", comparison.- See Also:
-
GE
public static final int GEGreater than or equal to, ">=
", comparison.- See Also:
-
comparison
protected int comparisonThe comparison.
-
-
Constructor Details
-
ComparisonTerm
public ComparisonTerm()Creates a defaultComparisonTerm
.- See Also:
-
-
Method Details