|
Java EE 5 SDK | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.mail.search.SearchTerm
javax.mail.search.AddressTerm
public abstract class AddressTerm
This class implements Message Address comparisons.
| Field Summary | |
|---|---|
protected Address |
address
The address. |
| Constructor Summary | |
|---|---|
protected |
AddressTerm(Address address)
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
Equality comparison. |
Address |
getAddress()
Return the address to match with. |
int |
hashCode()
Compute a hashCode for this object. |
protected boolean |
match(Address a)
Match against the argument Address. |
| Methods inherited from class javax.mail.search.SearchTerm |
|---|
match |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Address address
| Constructor Detail |
|---|
protected AddressTerm(Address address)
| Method Detail |
|---|
public Address getAddress()
protected boolean match(Address a)
public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
Java EE 5 SDK | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright 2006 Sun Microsystems, Inc. All rights reserved.