|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.mail.search.SearchTerm
javax.mail.search.NotTerm
public final class NotTerm
This class implements the logical NEGATION operator.
| Field Summary | |
|---|---|
protected SearchTerm |
term
The search term to negate. |
| Constructor Summary | |
|---|---|
NotTerm(SearchTerm t)
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
Equality comparison. |
SearchTerm |
getTerm()
Return the term to negate. |
int |
hashCode()
Compute a hashCode for this object. |
boolean |
match(Message msg)
This method applies a specific match criterion to the given message and returns the result. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected SearchTerm term
| Constructor Detail |
|---|
public NotTerm(SearchTerm t)
| Method Detail |
|---|
public SearchTerm getTerm()
public boolean match(Message msg)
SearchTerm
match in class SearchTermmsg - The match criterion is applied on this message
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||