Package jakarta.mail.search
Class NotTerm
java.lang.Object
jakarta.mail.search.SearchTerm
jakarta.mail.search.NotTerm
- All Implemented Interfaces:
Serializable
This class implements the logical NEGATION operator.
- Author:
- Bill Shannon, John Mani
- See Also:
-
Constructor Details
-
NotTerm
Constructor.- Parameters:
t
- the term to negate.
-
-
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.
-