javax.mail.search
public final class: NotTerm [javadoc |
source]
java.lang.Object
javax.mail.search.SearchTerm
javax.mail.search.NotTerm
All Implemented Interfaces:
Serializable
Term that implements a logical negation.
- version:
$ - Rev: 126550 $ $Date: 2005-01-26 14:27:45 -0800 (Wed, 26 Jan 2005) $
| Field Summary |
|---|
| protected SearchTerm | term | |
| Methods from javax.mail.search.SearchTerm: |
|---|
|
match |
| Method from javax.mail.search.NotTerm Detail: |
public boolean equals(Object other) {
if (other == this) return true;
if (other instanceof NotTerm == false) return false;
return term.equals(((NotTerm) other).term);
}
|
public SearchTerm getTerm() {
return term;
}
|
public int hashCode() {
return term.hashCode();
}
|
public boolean match(Message message) {
return !term.match(message);
}
|