public abstract class Address extends Object implements Serializable
Constructor and Description |
---|
Address() |
Modifier and Type | Method and 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()
InternetAddress
public 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 © 1996-2018, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.