org.springframework.social.twitter.api
Class GeoCode
java.lang.Object
org.springframework.social.twitter.api.GeoCode
public class GeoCode
- extends java.lang.Object
Represents geo_code
parameter used for advanced search
Constructor Summary |
GeoCode(double latitude,
double longitude,
int radius)
Creates GeoCode object with the default unit of measure is Unit.KILOMETER |
GeoCode(double latitude,
double longitude,
int radius,
GeoCode.Unit unit)
|
Method Summary |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
GeoCode
public GeoCode(double latitude,
double longitude,
int radius)
- Creates GeoCode object with the default unit of measure is Unit.KILOMETER
- Parameters:
latitude
- longitude
- radius
-
GeoCode
public GeoCode(double latitude,
double longitude,
int radius,
GeoCode.Unit unit)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object