javax.mail.search
Class AddressTerm

java.lang.Object
  extended byjavax.mail.search.SearchTerm
      extended byjavax.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.

Author:
Bill Shannon, John Mani
See Also:
Serialized Form

Method Summary
 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
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getAddress

public Address getAddress()
Return the address to match with.


equals

public boolean equals(java.lang.Object obj)
Equality comparison.


hashCode

public int hashCode()
Compute a hashCode for this object.