站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > 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
           
 
Fields inherited from class javax.mail.search.ComparisonTerm
comparison, EQ, GE, GT, LE, LT, NE
 
Constructor Summary
protected IntegerComparisonTerm(int comparison, 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 javax.mail.search.SearchTerm
match
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

number

protected int number
Constructor Detail

IntegerComparisonTerm

protected IntegerComparisonTerm(int comparison,
                                int number)
Method Detail

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)



The CHM file was converted to HTM by