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
- 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. |
Constructor Summary |
protected |
|
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 |
|
number
protected int number
-
The number.
IntegerComparisonTerm
protected IntegerComparisonTerm(int comparison,
int number)
-
- Parameters:
comparison
number
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.