public final class RecipientTerm extends AddressTerm
address| 构造器和说明 |
|---|
RecipientTerm(Message.RecipientType type,
Address address)
Constructor.
|
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object obj)
Equality comparison.
|
Message.RecipientType |
getRecipientType()
Return the type of recipient to match with.
|
int |
hashCode()
Compute a hashCode for this object.
|
boolean |
match(Message msg)
The match method.
|
getAddress, matchpublic RecipientTerm(Message.RecipientType type, Address address)
type - the recipient typeaddress - the address to match forpublic Message.RecipientType getRecipientType()
public boolean match(Message msg)
match 在类中 SearchTermmsg - The address match is applied to this Message's recepient
addresspublic boolean equals(Object obj)
equals 在类中 AddressTermpublic int hashCode()
hashCode 在类中 AddressTermCopyright © 2021 Oracle. All rights reserved.