Package javax.mail.search
Class AddressTerm
- java.lang.Object
-
- javax.mail.search.SearchTerm
-
- javax.mail.search.AddressTerm
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
FromTerm
,RecipientTerm
public abstract class AddressTerm extends SearchTerm
This class implements Message Address comparisons.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
Equality comparison.Address
getAddress()
Return the address to match with.int
hashCode()
Compute a hashCode for this object.-
Methods inherited from class javax.mail.search.SearchTerm
match
-
-
-
-
Method Detail
-
getAddress
public Address getAddress()
Return the address to match with.- Returns:
- the adddress
-
equals
public boolean equals(java.lang.Object obj)
Equality comparison.- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
Compute a hashCode for this object.- Overrides:
hashCode
in classjava.lang.Object
-
-