public final class NotTerm extends SearchTerm
| 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.
|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitpublic 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.Objectpublic int hashCode()
hashCode in class java.lang.Object