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 int
comparison
The comparison operator.static int
EQ
The equality operator.static int
GE
The greater than or equal to operator.static int
GT
The greater than operator.static int
LE
The less than or equal to operator.static int
LT
The less than operator.static int
NE
The not equal to operator.
-
Constructor Summary
Constructors Constructor Description ComparisonTerm()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object other)
int
hashCode()
-
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.
-
-