Class GmailThrIdTerm

  • All Implemented Interfaces:
    java.io.Serializable

    public final class GmailThrIdTerm
    extends LongTerm
    This class implements searching for the Gmail thread ID.
    Since:
    JavaMail 1.4.6
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static long serialVersionUID  
    • Constructor Summary

      Constructors 
      Constructor Description
      GmailThrIdTerm​(long thrId)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)
      Equality comparison.
      boolean match​(Message msg)
      The match method.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GmailThrIdTerm

        public GmailThrIdTerm​(long thrId)
        Constructor.
        Parameters:
        thrId - the thread ID
    • Method Detail

      • match

        public boolean match​(Message msg)
        The match method.
        Specified by:
        match in class SearchTerm
        Parameters:
        msg - the Message number is matched with this Message
        Returns:
        true if the match succeeds, otherwise false
      • equals

        public boolean equals​(java.lang.Object obj)
        Equality comparison.
        Overrides:
        equals in class LongTerm
        Parameters:
        obj - the object to compare with
        Returns:
        true if equal