public final class FromTerm extends AddressTerm
address
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Equality comparison.
|
boolean |
match(Message msg)
The address comparator.
|
getAddress, hashCode, match
public FromTerm(Address address)
address
- The Address to be comparedpublic boolean match(Message msg)
match
in class SearchTerm
msg
- The address comparison is applied to this Messagepublic boolean equals(java.lang.Object obj)
equals
in class AddressTerm