public final class FromTerm extends AddressTerm
address | Constructor and Description |
|---|
FromTerm (Address address)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals (java.lang.Object other) |
boolean |
match (Message msg)
Returns true if the From address in the given message matches the
address specified in this term.
|
getAddress, hashCode, match clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitpublic FromTerm(Address address)
address - the address for comparisonpublic boolean match(Message msg)
match in class SearchTerm public boolean equals(java.lang.Object other)
equals in class AddressTerm