|
Java EE 5 SDK | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object extended by javax.mail.search.SearchTerm extended by 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 SearchTermmsg - The match criterion is applied on this message
public boolean equals(Object obj)
public int hashCode()
|
Java EE 5 SDK | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
Scripting on this page tracks web page traffic, but does not change the content in any way.