com.hs.mail.imap.message.search
Class IntegerComparisonKey

java.lang.Object
  extended by com.hs.mail.imap.message.search.SearchKey
      extended by com.hs.mail.imap.message.search.ComparisonKey
          extended by com.hs.mail.imap.message.search.IntegerComparisonKey
Direct Known Subclasses:
SizeKey

public abstract class IntegerComparisonKey
extends ComparisonKey

This class implements search-criteria for integers.

Since:
Jan 30, 2010
Author:
Won Chul Doh

Field Summary
protected  int number
           
 
Fields inherited from class com.hs.mail.imap.message.search.ComparisonKey
comparison, EQ, GE, GT, LE, LT, NE
 
Constructor Summary
protected IntegerComparisonKey(int comparison, int number)
           
 
Method Summary
 boolean equals(Object obj)
           
 int getNumber()
           
 int hashCode()
           
 
Methods inherited from class com.hs.mail.imap.message.search.ComparisonKey
getComparison
 
Methods inherited from class com.hs.mail.imap.message.search.SearchKey
isComposite
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

number

protected int number
Constructor Detail

IntegerComparisonKey

protected IntegerComparisonKey(int comparison,
                               int number)
Method Detail

getNumber

public int getNumber()

equals

public boolean equals(Object obj)
Overrides:
equals in class ComparisonKey

hashCode

public int hashCode()
Overrides:
hashCode in class ComparisonKey


Copyright © 2011. All Rights Reserved.