Class ComparisonTerm

java.lang.Object
jakarta.mail.search.SearchTerm
jakarta.mail.search.ComparisonTerm
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
DateTerm, IntegerComparisonTerm

public abstract class ComparisonTerm extends SearchTerm
This class models the comparison operator. This is an abstract class; subclasses implement comparisons for different datatypes.
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected int
    The comparison.
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Equality comparison.
    int
    Compute a hashCode for this object.

    Methods inherited from class jakarta.mail.search.SearchTerm

    match

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait