public final class

NotTerm

extends SearchTerm
java.lang.Object
   ↳ com.google.code.javax.mail.search.SearchTerm
     ↳ com.google.code.javax.mail.search.NotTerm

Class Overview

This class implements the logical NEGATION operator.

Summary

Constants
long serialVersionUID
[Expand]
Inherited Constants
From class com.google.code.javax.mail.search.SearchTerm
Fields
protected SearchTerm term The search term to negate.
Public Constructors
NotTerm(SearchTerm t)
Public Methods
boolean equals(Object obj)
Equality comparison.
SearchTerm getTerm()
Return the term to negate.
int hashCode()
Compute a hashCode for this object.
boolean match(Message msg)
This method applies a specific match criterion to the given message and returns the result.
[Expand]
Inherited Methods
From class com.google.code.javax.mail.search.SearchTerm
From class java.lang.Object

Constants

private static final long serialVersionUID

Constant Value: 7152293214217310216 (0x63420cc8aadc1008)

Fields

protected SearchTerm term

The search term to negate.

Public Constructors

public NotTerm (SearchTerm t)

Parameters
t

Public Methods

public boolean equals (Object obj)

Equality comparison.

Parameters
obj

public SearchTerm getTerm ()

Return the term to negate.

public int hashCode ()

Compute a hashCode for this object.

public boolean match (Message msg)

This method applies a specific match criterion to the given message and returns the result.

Parameters
msg The match criterion is applied on this message
Returns
  • true, it the match succeeds, false if the match fails