java.io.Serializablepublic final class NotTerm extends SearchTerm
| Constructor | Description |
|---|---|
NotTerm(SearchTerm t) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
equals(java.lang.Object obj) |
Equality comparison.
|
SearchTerm |
getTerm() |
Return the term to negate.
|
int |
hashCode() |
Compute a hashCode for this object.
|
boolean |
match(Message msg) |
This method applies a specific match criterion to the given
message and returns the result.
|
public NotTerm(SearchTerm t)
public SearchTerm getTerm()
public boolean match(Message msg)
SearchTermmatch in class SearchTermmsg - The match criterion is applied on this messagepublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.ObjectCopyright © 2018 Oracle. All rights reserved.