|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecttwitter4j.GeoLocation
public class GeoLocation
A data class representing geo location.
| Constructor Summary | |
|---|---|
GeoLocation(double latitude,
double longitude)
Creates a GeoLocation instance |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
|
double |
getLatitude()
returns the latitude of the geo location |
double |
getLongitude()
returns the longitude of the geo location |
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public GeoLocation(double latitude,
double longitude)
latitude - the latitudelongitude - the longitude| Method Detail |
|---|
public double getLatitude()
public double getLongitude()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||