public abstract class Address
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
Address() |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
equals(java.lang.Object address)
The equality operator.
|
abstract java.lang.String |
getType()
Return a type string that identifies this address type.
|
abstract java.lang.String |
toString()
Return a String representation of this address object.
|
public abstract java.lang.String getType()
InternetAddress
public abstract java.lang.String toString()
toString
in class java.lang.Object
public abstract boolean equals(java.lang.Object address)
hashCode
method that preserves the general contract of
equals
and hashCode
- objects that
compare as equal must have the same hashCode.equals
in class java.lang.Object
address
- Address object