|
Java EE 5 SDK | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object extended by javax.mail.search.SearchTerm extended by javax.mail.search.ComparisonTerm extended by javax.mail.search.IntegerComparisonTerm
public abstract class IntegerComparisonTerm
This class implements comparisons for integers.
| 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 |
|---|
protected int number
| Constructor Detail |
|---|
protected IntegerComparisonTerm(int comparison, int number)
| Method Detail |
|---|
public int getNumber()
public int getComparison()
protected boolean match(int i)
public boolean equals(Object obj)
equals in class ComparisonTermpublic int hashCode()
hashCode in class ComparisonTerm
|
Java EE 5 SDK | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
Scripting on this page tracks web page traffic, but does not change the content in any way.