javax.mail.search

Class AddressTerm

public abstract class AddressTerm extends SearchTerm

A comparison of message addresses.

Version: 1.3

Author: Chris Burdess

Field Summary
protected Addressaddress
The address.
Constructor Summary
protected AddressTerm(Address address)
Method Summary
booleanequals(Object other)
AddressgetAddress()
Returns the address to match.
inthashCode()
protected booleanmatch(Address address)
Returns true if the specified address matches the address specified in this term.

Field Detail

address

protected Address address
The address.

Constructor Detail

AddressTerm

protected AddressTerm(Address address)

Method Detail

equals

public boolean equals(Object other)

getAddress

public Address getAddress()
Returns the address to match.

hashCode

public int hashCode()

match

protected boolean match(Address address)
Returns true if the specified address matches the address specified in this term.
©