|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
javax.mail.search Class IntegerComparisonTerm
java.lang.Object javax.mail.search.SearchTerm javax.mail.search.ComparisonTerm javax.mail.search.IntegerComparisonTerm
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- MessageNumberTerm, SizeTerm
public abstract class IntegerComparisonTerm
- extends ComparisonTerm
Extends:
SearchTerm > ComparisonTerm
Extended by:
MessageNumberTerm, SizeTerm
此类实现整数比较。
This class implements comparisons for integers.
- Author:
- Bill Shannon, John Mani
- See Also:
- Serialized Form
Field Summary | |
---|---|
protected int |
number
The 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 | |
---|---|
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)
|
Methods inherited from class javax.mail.search.SearchTerm |
---|
match |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
英文文档:
number
protected int number
- The number.
Constructor Detail |
---|
protected
IntegerComparisonTerm(int comparison, int number)
英文文档:
IntegerComparisonTerm
protected IntegerComparisonTerm(int comparison, int number)
Method Detail |
---|
public int
getNumber()
返回要与之比较的数字。
英文文档:
getNumber
public int getNumber()
- Return the number to compare with.
public int
getComparison()
返回比较类型。
英文文档:
getComparison
public int getComparison()
- Return the type of comparison.
protected boolean
match(int i)
英文文档:
match
protected boolean match(int i)
public boolean
equals(Object obj)
相等性比较。
英文文档:
equals
public boolean equals(Object obj)
- Equality comparison.
- Overrides:
equals
in classComparisonTerm
public int
hashCode()
计算此对象的 hashCode。
英文文档:
hashCode
public int hashCode()
- Compute a hashCode for this object.
- Overrides:
hashCode
in classComparisonTerm
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Submit a bug or feature
Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!