public class GeoCoordinates extends Object
| Constructor and Description |
|---|
GeoCoordinates(Number x,
Number y)
Creates new
GeoCoordinates. |
| Modifier and Type | Method and Description |
|---|---|
static GeoCoordinates |
create(Number x,
Number y)
Creates new
GeoCoordinates. |
boolean |
equals(Object o) |
Number |
getX() |
Number |
getY() |
int |
hashCode() |
String |
toString() |
public GeoCoordinates(Number x, Number y)
GeoCoordinates.x - the longitude, must not be null.y - the latitude, must not be null.public static GeoCoordinates create(Number x, Number y)
GeoCoordinates.x - the longitude, must not be null.y - the latitude, must not be null.GeoCoordinates.public Number getX()
public Number getY()
Copyright © 2021 lettuce.io. All rights reserved.