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(java.lang.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
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object