Package jakarta.mail.search
Class AddressTerm
- java.lang.Object
 - 
- jakarta.mail.search.SearchTerm
 - 
- jakarta.mail.search.AddressTerm
 
 
 
- 
- All Implemented Interfaces:
 Serializable
- Direct Known Subclasses:
 FromTerm,RecipientTerm
public abstract class AddressTerm extends SearchTerm
This class implements Message Address comparisons.- Author:
 - Bill Shannon, John Mani
 - See Also:
 - Serialized Form
 
 
- 
- 
Constructor Summary
Constructors Modifier Constructor Description protectedAddressTerm(Address address) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)Equality comparison.AddressgetAddress()Return the address to match with.inthashCode()Compute a hashCode for this object.protected booleanmatch(Address a)Match against the argument Address.- 
Methods inherited from class jakarta.mail.search.SearchTerm
match 
 - 
 
 - 
 
- 
- 
Field Detail
- 
address
protected Address address
The address. 
 - 
 
- 
Constructor Detail
- 
AddressTerm
protected AddressTerm(Address address)
 
 - 
 
 -