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.
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class jakarta.mail.search.SearchTerm
match
-
Field Details
-
LE
public static final int LE- See Also:
-
LT
public static final int LT- See Also:
-
EQ
public static final int EQ- See Also:
-
NE
public static final int NE- See Also:
-
GT
public static final int GT- See Also:
-
GE
public static final int GE- See Also:
-
comparison
protected int comparisonThe comparison.
-
-
Constructor Details
-
ComparisonTerm
public ComparisonTerm()Creates a defaultComparisonTerm
.- See Also:
-
-
Method Details