javax.mail.search

Class IntegerComparisonTerm

public abstract class IntegerComparisonTerm extends ComparisonTerm

An integer comparison.

Version: 1.3

Author: Chris Burdess

Field Summary
protected intnumber
The number.
Constructor Summary
protected IntegerComparisonTerm(int comparison, int number)
Method Summary
booleanequals(Object other)
intgetComparison()
Returns the type of comparison.
intgetNumber()
Returns the number to compare with.
inthashCode()
protected booleanmatch(int i)

Field Detail

number

protected int number
The number.

Constructor Detail

IntegerComparisonTerm

protected IntegerComparisonTerm(int comparison, int number)

Method Detail

equals

public boolean equals(Object other)

getComparison

public int getComparison()
Returns the type of comparison.

getNumber

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

hashCode

public int hashCode()

match

protected boolean match(int i)
© Copyright 2003, 2004 The Free Software Foundation, All rights reserved