java.io.Serializablepublic final class GmailMsgIdTerm extends SearchTerm
| Modifier and Type | Field | Description |
|---|---|---|
protected long |
number |
The number.
|
| Constructor | Description |
|---|---|
GmailMsgIdTerm(long msgId) |
Constructor.
|
| 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.
|
boolean |
match(Message msg) |
The match method.
|
protected boolean |
match(long i) |
public GmailMsgIdTerm(long msgId)
msgId - the message IDpublic boolean match(Message msg)
match in class SearchTermmsg - the Message number is matched with this Messagepublic boolean equals(java.lang.Object obj)
obj - the object to compare withpublic long getNumber()
protected boolean match(long i)
public int hashCode()
hashCode in class java.lang.ObjectCopyright © 2018 Oracle. All rights reserved.