Class LongTerm

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    GmailMsgIdTerm, GmailThrIdTerm

    abstract class LongTerm
    extends SearchTerm
    This class implements a long integer search term.
    Since:
    JavaMail 1.4.6
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected long number
      The number.
      private static long serialVersionUID  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected LongTerm​(long number)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)
      Equality comparison.
      long getNumber()
      Return the number to compare with.
      int hashCode()
      Compute a hashCode for this object.
      protected boolean match​(long i)  
      • Methods inherited from class java.lang.Object

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

      • number

        protected long number
        The number.
    • Constructor Detail

      • LongTerm

        protected LongTerm​(long number)
    • Method Detail

      • getNumber

        public long getNumber()
        Return the number to compare with.
        Returns:
        the number
      • match

        protected boolean match​(long i)
      • equals

        public boolean equals​(java.lang.Object obj)
        Equality comparison.
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Compute a hashCode for this object.
        Overrides:
        hashCode in class java.lang.Object