public class GeoInfo extends java.lang.Object implements DateHolder, java.io.Serializable
Constructor and Description |
---|
GeoInfo(java.lang.String geolocation,
long lastUsed) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
long |
getDate()
Get the date the object holds.
|
java.lang.String |
getGeolocation() |
int |
hashCode() |
java.lang.String |
toString() |
public java.lang.String getGeolocation()
public long getDate()
DateHolder
getDate
in interface DateHolder
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object