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
Term that implements a logical negation.
- Version:
- $Rev: 421852 $ $Date: 2006-07-14 03:02:19 -0700 (Fri, 14 Jul 2006) $
- See Also:
- Serialized Form
term
protected SearchTerm term
NotTerm
public NotTerm(SearchTerm term)
getTerm
public SearchTerm getTerm()
match
public boolean match(Message message)
- Description copied from class:
SearchTerm
- Checks a matching criteria defined by the concrete subclass of this Term.
- Specified by:
match
in class SearchTerm
- Parameters:
message
- the message to apply the matching criteria to
- Returns:
- true if the matching criteria is met
equals
public boolean equals(Object other)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
Copyright © 2006 Apache Software Foundation. All Rights Reserved.