public final class FromTerm extends AddressTerm
address
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
public 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