java.io.Serializable
public final class NotTerm extends SearchTerm
Modifier and Type | Field | Description |
---|---|---|
protected SearchTerm |
term |
The search term to negate.
|
Constructor | Description |
---|---|
NotTerm(SearchTerm t) |
Modifier and Type | Method | 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.
|
protected SearchTerm term
public 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.Object
public int hashCode()
hashCode
in class java.lang.Object
© Copyright 2003, 2004 The Free Software Foundation, All rights reserved