Package javax.mail.search
Class ComparisonTerm
- java.lang.Object
-
- javax.mail.search.SearchTerm
-
- javax.mail.search.ComparisonTerm
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
DateTerm,IntegerComparisonTerm
public abstract class ComparisonTerm extends SearchTerm
A comparison for scalar values.- Version:
- 1.4
- Author:
- Chris Burdess
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected intcomparisonThe comparison operator.static intEQThe equality operator.static intGEThe greater than or equal to operator.static intGTThe greater than operator.static intLEThe less than or equal to operator.static intLTThe less than operator.static intNEThe not equal to operator.
-
Constructor Summary
Constructors Constructor Description ComparisonTerm()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object other)inthashCode()-
Methods inherited from class javax.mail.search.SearchTerm
match
-
-
-
-
Field Detail
-
LE
public static final int LE
The less than or equal to operator.- See Also:
- Constant Field Values
-
LT
public static final int LT
The less than operator.- See Also:
- Constant Field Values
-
EQ
public static final int EQ
The equality operator.- See Also:
- Constant Field Values
-
NE
public static final int NE
The not equal to operator.- See Also:
- Constant Field Values
-
GT
public static final int GT
The greater than operator.- See Also:
- Constant Field Values
-
GE
public static final int GE
The greater than or equal to operator.- See Also:
- Constant Field Values
-
comparison
protected int comparison
The comparison operator.
-
-