public class Coord
Modifier and Type | Class and Description |
---|---|
static class |
Coord.Static |
Modifier and Type | Field and Description |
---|---|
static Coord.Static |
Static |
Constructor and Description |
---|
Coord(Double latitude,
Double longitude) |
Coord() |
Modifier and Type | Method and Description |
---|---|
Double |
component1() |
Double |
component2() |
Coord |
copy(Double latitude,
Double longitude) |
boolean |
equals(Object p) |
static Coord |
fromJson(String json) |
Double |
getLatitude() |
Double |
getLongitude() |
boolean |
hasLatitude() |
boolean |
hasLongitude() |
int |
hashCode() |
static String |
toJson(Coord pojo) |
static String |
toJsonPretty(Coord pojo) |
String |
toString() |
public static Coord.Static Static
public boolean hasLatitude()
public boolean hasLongitude()
public Double getLatitude()
public Double getLongitude()
public Double component1()
public Double component2()
public Coord copy(Double latitude, Double longitude)
public String toString()
public int hashCode()
public boolean equals(Object p)
public static Coord fromJson(String json)
public static String toJson(Coord pojo)
public static String toJsonPretty(Coord pojo)