public final class FromTerm extends AddressTerm
address
Modifier and Type | Method and Description |
---|---|
boolean |
equals(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(Object obj)
equals
in class AddressTerm
Copyright © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.