Home » apache-tomcat-6.0.26-src » javax » mail » search » [javadoc | source]
javax.mail.search
abstract public class: ComparisonTerm [javadoc | source]
java.lang.Object
   javax.mail.search.SearchTerm
      javax.mail.search.ComparisonTerm

All Implemented Interfaces:
    Serializable

Direct Known Subclasses:
    ReceivedDateTerm, IntegerComparisonTerm, DateTerm, MessageNumberTerm, SentDateTerm, SizeTerm

This class models the comparison operator. This is an abstract class; subclasses implement comparisons for different datatypes.
Field Summary
public static final  int LE     
public static final  int LT     
public static final  int EQ     
public static final  int NE     
public static final  int GT     
public static final  int GE     
protected  int comparison    The comparison.
    serial:
 
Method from javax.mail.search.ComparisonTerm Summary:
equals,   hashCode
Methods from javax.mail.search.SearchTerm:
match
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.mail.search.ComparisonTerm Detail:
 public boolean equals(Object obj) 
    Equality comparison.
 public int hashCode() 
    Compute a hashCode for this object.