javax.mail.search
Class AddressTerm
- Serializable
public abstract class AddressTerm
Term that compares two addresses.
address
protected Address address
The address.
AddressTerm
protected AddressTerm(Address address)
Constructor taking the address for this term.
equals
public boolean equals(Object other)
getAddress
public Address getAddress()
Return the address of this term.
hashCode
public int hashCode()
match
protected boolean match(Address address)
Match to the supplied address.
address
- the address to match with
- true if the addresses match