javax.mail.search
Class IntegerComparisonTerm
- Serializable
public abstract class IntegerComparisonTerm
 This class implements comparisons for integers.
| protected  int | number The number.
 | 
|  boolean | equals(Object other) 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)
 | 
number
protected int number
 The number.
IntegerComparisonTerm
protected IntegerComparisonTerm(int comparison,
                                int number)
equals
public boolean equals(Object other)
 Equality comparison.
- equals in interface ComparisonTerm
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.
- hashCode in interface ComparisonTerm
match
protected boolean match(int i)