java.lang.Object
jakarta.mail.search.SearchTerm
org.eclipse.angus.mail.gimap.GmailMsgIdTerm
- All Implemented Interfaces:
Serializable
This class implements searching for the Gmail message ID.
- Since:
- JavaMail 1.4.6
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
number
protected long numberThe number.
-
-
Constructor Details
-
GmailMsgIdTerm
public GmailMsgIdTerm(long msgId) Constructor.- Parameters:
msgId
- the message ID
-
-
Method Details
-
match
The match method.- Specified by:
match
in classSearchTerm
- Parameters:
msg
- the Message number is matched with this Message- Returns:
- true if the match succeeds, otherwise false
-
equals
Equality comparison.- Parameters:
obj
- the object to compare with- Returns:
- true if equal
-
getNumber
public long getNumber()Return the number to compare with.- Returns:
- the number
-
match
protected boolean match(long i) -
hashCode
public int hashCode()Compute a hashCode for this object.
-