public abstract class Address
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
private static long |
serialVersionUID |
| 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.
|
private static final long serialVersionUID
public abstract java.lang.String getType()
InternetAddresspublic abstract java.lang.String toString()
toString in class java.lang.Objectpublic 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.Objectaddress - Address object