public final class NotTerm extends SearchTerm
Constructor and Description |
---|
NotTerm(SearchTerm t) |
Modifier and Type | Method and 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 © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.