|
Java EE 5 SDK | ||||||||
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
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(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)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
Java EE 5 SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2006 Sun Microsystems, Inc. All rights reserved.