当前页面:
在线文档首页 >
Java Platform, Enterprise Edition v1.3.1 API Specifications
Java 2 Platform EE v1.3: Class IntegerComparisonTerm - Java Platform, Enterprise Edition v1.3.1 API Specifications
javax.mail.search
Class IntegerComparisonTerm
java.lang.Object
|
+--javax.mail.search.SearchTerm
|
+--javax.mail.search.ComparisonTerm
|
+--javax.mail.search.IntegerComparisonTerm
- Direct Known Subclasses:
- MessageNumberTerm, SizeTerm
- public abstract class IntegerComparisonTerm
- extends ComparisonTerm
This class implements comparisons for integers.
Field Summary |
protected int |
number
|
Method Summary |
int |
getComparison()
Return the type of comparison. |
int |
getNumber()
Return the number to compare with. |
protected boolean |
match(int i)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
number
protected int number
IntegerComparisonTerm
protected IntegerComparisonTerm(int comparison,
int number)
getNumber
public int getNumber()
- Return the number to compare with.
getComparison
public int getComparison()
- Return the type of comparison.
match
protected boolean match(int i)