Modifier and Type | Field and Description |
---|---|
private static final long | |
private Message. | type
The recipient type. |
Access | Constructor and Description |
---|---|
public | RecipientTerm(Message.
the recipient type type,the address to match for address)Constructor. |
Modifier and Type | Method and Description |
---|---|
public boolean | equals(Object
the reference object with which to compare. obj)Overrides jakarta. |
public Message. | |
public int | |
public boolean | Returns: true if the match succeeds, otherwise falseThe address match is applied to this Message's recepient
address msg)Implements abstract jakarta. |
serialVersionUID | back to summary |
---|---|
private static final long serialVersionUID |
type | back to summary |
---|---|
private Message. The recipient type. |
RecipientTerm | back to summary |
---|---|
public RecipientTerm(Message. Constructor.
|
equals | back to summary |
---|---|
public boolean equals(Object obj) Overrides jakarta. Equality comparison.
|
getRecipientType | back to summary |
---|---|
public Message. Return the type of recipient to match with.
|
hashCode | back to summary |
---|---|
public int hashCode() Overrides jakarta. Compute a hashCode for this object.
|
match | back to summary |
---|---|
public boolean match(Message msg) Implements abstract jakarta. The match method. |