javax.mail.search
Class NotTerm
java.lang.Object
javax.mail.search.SearchTerm
javax.mail.search.NotTerm
- All Implemented Interfaces:
- Serializable
public final class NotTerm
- extends SearchTerm
Provides the logical negation of the target term.
- Version:
- 1.4
- Author:
- Chris Burdess
- See Also:
- Serialized Form
term
protected SearchTerm term
- The search term to negate.
NotTerm
public NotTerm(SearchTerm t)
getTerm
public SearchTerm getTerm()
- Returns the term to negate.
match
public boolean match(Message msg)
- Returns true only if the term specified in this term does not match the
given message.
- Specified by:
match
in class SearchTerm
equals
public boolean equals(Object other)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
© Copyright 2003, 2004
The Free Software Foundation, All rights reserved