ComparisonTerm (Java EE 5)

Java EE API


javax.mail.search Class ComparisonTerm

java.lang.Object
  extended by javax.mail.search.SearchTerm
      extended by javax.mail.search.ComparisonTerm
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
DateTerm, IntegerComparisonTerm

public abstract class ComparisonTerm
extends SearchTerm

Extends: SearchTerm

此类模拟比较运算符。这是一个抽象类;子类实现对不同数据类型的比较。
英文文档:

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

Author:
Bill Shannon, John Mani
See Also:
Serialized Form

Field Summary
protected  int
static int
static int
static int
static int
static int
static int
 
Constructor Summary
 
Method Summary
 boolean
 int
 
Methods inherited from class javax.mail.search.SearchTerm
 
Methods inherited from class java.lang.Object
 

Field Detail

英文文档:

LE

public static final int LE
See Also:
Constant Field Values

英文文档:

LT

public static final int LT
See Also:
Constant Field Values

英文文档:

EQ

public static final int EQ
See Also:
Constant Field Values

英文文档:

NE

public static final int NE
See Also:
Constant Field Values

英文文档:

GT

public static final int GT
See Also:
Constant Field Values

英文文档:

GE

public static final int GE
See Also:
Constant Field Values

英文文档:

comparison

protected int comparison
The comparison.

Constructor Detail

public ComparisonTerm()
英文文档:

ComparisonTerm

public ComparisonTerm()
Method Detail

public boolean equals(Object obj)
相等性比较。
英文文档:

equals

public boolean equals(Object obj)
Equality comparison.

Overrides:
equals in class Object

public int hashCode()
计算此对象的 hashCode。
英文文档:

hashCode

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

Overrides:
hashCode in class Object


Submit a bug or feature

Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.

一看就知道只有菜鸟才干这么无知的事啦。

PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!