⇒ Index (Frames) |  ⇒ Index (No Frames) |  ⇒ Package |  ⇒ Package Tree |  ⇒ Full Tree 
javax.mail.search

Class NotTerm

java.lang.Object
|
+--javax.mail.search.SearchTerm
   |
   +--javax.mail.search.NotTerm


public final class NotTerm
extends SearchTerm

This class implements the logical NEGATION operator.
Author:

Field Summary

SearchTerm

term

The search term to negate.

Constructor Summary

NotTerm(SearchTerm t)

Method Summary

boolean

equals(Object other)

Equality comparison.

SearchTerm

getTerm()

Return the term to negate.

int

hashCode()

Compute a hashCode for this object.

boolean

match(Message msg)

Field Details

term

protected SearchTerm term

The search term to negate.

Constructor Details

NotTerm

public NotTerm(SearchTerm t)

Parameters:
t

Method Details

equals

public boolean equals(Object other)

Equality comparison.

Parameters:
other

getTerm

public SearchTerm getTerm()

Return the term to negate.


hashCode

public int hashCode()

Compute a hashCode for this object.


match

public boolean match(Message msg)

Parameters:
msg