ComparisonTerm (Java EE 5 SDK)

Java

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


javax.mail.search Class ComparisonTerm

java.lang.Object
  extended by javax.mail.search.SearchTerm
      extended by javax.mail.search.ComparisonTerm
所有已实现的接口:
Serializable
直接已知子类:
DateTerm, IntegerComparisonTerm

public abstract class ComparisonTerm
extends SearchTerm

This class models the comparison operator. This is an abstract class; subclasses implement comparisons for different datatypes.

作者:
Bill Shannon, John Mani
另请参见:
Serialized Form

字段摘要
protected  int comparison
          The comparison.
static int EQ
           
static int GE
           
static int GT
           
static int LE
           
static int LT
           
static int NE
           
 
构造器摘要
ComparisonTerm()
           
 
方法摘要
 boolean equals(Object obj)
          Equality comparison.
 int hashCode()
          Compute a hashCode for this object.
 
类方法继承 javax.mail.search.SearchTerm
match
 
类方法继承 java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

LE

public static final int LE
另请参见:
常量字段

LT

public static final int LT
另请参见:
常量字段

EQ

public static final int EQ
另请参见:
常量字段

NE

public static final int NE
另请参见:
常量字段

GT

public static final int GT
另请参见:
常量字段

GE

public static final int GE
另请参见:
常量字段

comparison

protected int comparison
The comparison.

构造器详细信息

ComparisonTerm

public ComparisonTerm()
方法详细信息

equals

public boolean equals(Object obj)
Equality comparison.

重写:
equals in class Object

hashCode

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

重写:
hashCode in class Object

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


提交错误或意见

版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.