public final class NotTerm extends SearchTerm
Modifier and Type | Field and Description |
---|---|
protected SearchTerm |
term
The search term to negate.
|
Constructor and Description |
---|
NotTerm(SearchTerm t) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
SearchTerm |
getTerm()
Returns the term to negate.
|
int |
hashCode() |
boolean |
match(Message msg)
Returns true only if the term specified in this term does not match the
given message.
|
protected SearchTerm term
public NotTerm(SearchTerm t)
public SearchTerm getTerm()
public boolean match(Message msg)
match
in class SearchTerm
© Copyright 2003, 2004 The Free Software Foundation, All rights reserved