javax.mail.search
Class NotTerm
- Serializable
public final class NotTerm
Provides the logical negation of the target term.
term
protected SearchTerm term
The search term to negate.
equals
public boolean equals(Object other)
getTerm
public SearchTerm getTerm()
Returns the term to negate.
hashCode
public int hashCode()
match
public boolean match(Message msg)
Returns true only if the term specified in this term does not match the
given message.
- match in interface SearchTerm
© Copyright 2003, 2004
The Free Software Foundation, All rights reserved