public final class Point extends GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Google Maps Engine API. For a detailed explanation see: http://code.google.com/p/google-http-java-client/wiki/JSON
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Point() |
| Modifier and Type | Method and Description |
|---|---|
Point |
clone() |
List<Double> |
getCoordinates()
The coordinates of this point as a position in [longitude, latitude] or [longitude, latitude,
altitude] form.
|
Point |
set(String fieldName,
Object value) |
Point |
setCoordinates(List<Double> coordinates)
The coordinates of this point as a position in [longitude, latitude] or [longitude, latitude,
altitude] form.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic List<Double> getCoordinates()
null for nonepublic Point setCoordinates(List<Double> coordinates)
coordinates - coordinates or null for nonepublic Point set(String fieldName, Object value)
set in class GenericJsonpublic Point clone()
clone in class GenericJson