javax.mail.search
类 IntegerComparisonTerm

java.lang.Object
  继承者 javax.mail.search.SearchTerm
      继承者 javax.mail.search.ComparisonTerm
          继承者 javax.mail.search.IntegerComparisonTerm
所有已实现的接口:
Serializable
直接已知子类:
MessageNumberTerm, SizeTerm

public abstract class IntegerComparisonTerm
extends ComparisonTerm

This class implements comparisons for integers.

作者:
Bill Shannon, John Mani
另请参见:
序列化表格

字段摘要
protected  int number
          The number.
 
从类 javax.mail.search.ComparisonTerm 继承的字段
comparison, EQ, GE, GT, LE, LT, NE
 
构造方法摘要
protected IntegerComparisonTerm(int comparison, int number)
           
 
方法摘要
 boolean equals(Object obj)
          Equality comparison.
 int getComparison()
          Return the type of comparison.
 int getNumber()
          Return the number to compare with.
 int hashCode()
          Compute a hashCode for this object.
protected  boolean match(int i)
           
 
从类 javax.mail.search.SearchTerm 继承的方法
match
 
从类 java.lang.Object 继承的方法
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

number

protected int number
The 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)

equals

public boolean equals(Object obj)
Equality comparison.

覆盖:
ComparisonTerm 中的 equals

hashCode

public int hashCode()
Compute a hashCode for this object.

覆盖:
ComparisonTerm 中的 hashCode


Copyright © 2013. All Rights Reserved.