Package javax.mail.search
Class NotTerm
java.lang.Object
javax.mail.search.SearchTerm
javax.mail.search.NotTerm
- All Implemented Interfaces:
Serializable
This class implements the logical NEGATION operator.
- See Also:
-
Constructor Details
-
NotTerm
-
-
Method Details
-
getTerm
Return the term to negate.- Returns:
- the Term
-
match
Description copied from class:SearchTerm
This method applies a specific match criterion to the given message and returns the result.- Specified by:
match
in classSearchTerm
- Parameters:
msg
- The match criterion is applied on this message- Returns:
- true, it the match succeeds, false if the match fails
-
equals
Equality comparison. -
hashCode
public int hashCode()Compute a hashCode for this object.
-