public final class NotTerm extends SearchTerm
Constructor and Description |
---|
NotTerm(SearchTerm t) |
Modifier and Type | Method and 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)
SearchTerm
match
in class SearchTerm
msg
- The match criterion is applied on this messagepublic boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object