javax.mail.search

Class RecipientTerm

Implemented Interfaces:
Serializable

public final class RecipientTerm
extends AddressTerm

Field Summary

protected Message.RecipientType
type

Fields inherited from class javax.mail.search.AddressTerm

address

Constructor Summary

RecipientTerm(Message.RecipientType type, Address address)

Method Summary

boolean
equals(Object other)
Message.RecipientType
getRecipientType()
int
hashCode()
boolean
match(Message message)

Methods inherited from class javax.mail.search.AddressTerm

equals, getAddress, hashCode, match

Methods inherited from class javax.mail.search.SearchTerm

match

Field Details

type

protected Message.RecipientType type

Constructor Details

RecipientTerm

public RecipientTerm(Message.RecipientType type,
                     Address address)

Method Details

equals

public boolean equals(Object other)
Overrides:
equals in interface AddressTerm

getRecipientType

public Message.RecipientType getRecipientType()

hashCode

public int hashCode()
Overrides:
hashCode in interface AddressTerm

match

public boolean match(Message message)
Overrides:
match in interface SearchTerm