SerializableInternetAddress, NewsAddresspublic abstract class Address extends Object implements Serializable
| Constructor | Description |
|---|---|
Address() |
| Modifier and Type | Method | Description |
|---|---|---|
abstract boolean |
equals(Object address) |
The equality operator.
|
abstract String |
getType() |
Return a type string that identifies this address type.
|
abstract String |
toString() |
Return a String representation of this address object.
|
public abstract String getType()
InternetAddresspublic abstract String toString()
public abstract boolean equals(Object address)
hashCode
method that preserves the general contract of
equals and hashCode - objects that
compare as equal must have the same hashCode.Copyright © 2018 Oracle. All rights reserved.