Name

NotTerm

Synopsis

This class is a term that can be used to negate another term. Wrapping a Term in a NotTerm will reverse its result.

                  
public final class NotTerm extends SearchTerm {
// Public Constructors
   public NotTerm( SearchTerm t);  
// Public Instance Methods
   public SearchTerm getTerm();  
// Public Methods Overriding SearchTerm
   public boolean match( javax.mail.Message msg);  
// Public Methods Overriding Object
   public boolean equals( Object obj);                           // 1.2
   public int hashCode();                                        // 1.2
                  // Protected Instance Fields
   protected SearchTerm term;  
}

Get Java Enterprise in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.