public class Address
extends java.lang.Object
implements java.lang.Cloneable, java.io.Serializable
GsmAddress
,
Serialized FormConstructor and Description |
---|
Address(java.lang.String address) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Compares this address to the specified object.
|
java.lang.String |
getAddress() |
int |
hashCode() |
java.lang.String |
toString()
Returns a string representation of the address.
|
public java.lang.String getAddress()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object obj)
true
if and only if the argument is not
null
and is a Address
object that has the
same toString()
result.equals
in class java.lang.Object
obj
- the object to compare this Address
against.true
if the Address
are equal;
false
otherwise.public int hashCode()
hashCode
in class java.lang.Object
object XP, Inc. © 2000-2013. All rights reserved object XP