This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.


javax.mail.search
class IntegerComparisonTerm

javax.mail.search.SearchTerm extended by javax.mail.search.ComparisonTerm extended by javax.mail.search.IntegerComparisonTerm
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
MessageNumberTerm, SizeTerm

public abstract class IntegerComparisonTerm
extends ComparisonTerm

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

          Equality comparison.
 int

          Return the type of comparison.
 int

          Return the number to compare with.
 int

          Compute a hashCode for this object.
protected boolean
match(int i)

          
 
Methods inherited from class javax.mail.search.ComparisonTerm
equals, hashCode
 
Methods inherited from class javax.mail.search.SearchTerm
match
 

Field Detail

number

protected int number
The number.
Constructor Detail

IntegerComparisonTerm

protected IntegerComparisonTerm(int comparison,
                                int number)
Parameters:
comparison
number
Method Detail

equals

public boolean equals(Object obj)
Equality comparison.

Overrides:
equals in class ComparisonTerm
Parameters:
obj

getComparison

public int getComparison()
Return the type of comparison.


getNumber

public int getNumber()
Return the number to compare with.


hashCode

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

Overrides:
hashCode in class ComparisonTerm

match

protected boolean match(int i)
Parameters:
i


This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.
This page displays the Jadeite version of the documention. The official Sun™ documentation can be found here at http://java.sun.com/products/javamail/javadocs/index.html.