|
JavaTM 2 Platform Ent. Ed. v1.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.mail.search.SearchTerm javax.mail.search.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(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 SearchTerm
msg
- The match criterion is applied on this message
public boolean equals(Object obj)
public int hashCode()
|
JavaTM 2 Platform Ent. Ed. v1.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2003 Sun Microsystems, Inc. All rights reserved.