Serializable
public final class NotTerm extends SearchTerm
Constructor | Description |
---|---|
NotTerm(SearchTerm t) |
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(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)
SearchTerm
match
in class SearchTerm
msg
- The match criterion is applied on this messageCopyright © 2018 Oracle. All rights reserved.