public class LatLonPointImmutable extends LatLonPointImpl
LatLonPoint.| Modifier and Type | Field and Description |
|---|---|
static LatLonPointImmutable |
INVALID |
lat, lon| Constructor and Description |
|---|
LatLonPointImmutable(double lat,
double lon) |
LatLonPointImmutable(LatLonPoint pt) |
| Modifier and Type | Method and Description |
|---|---|
void |
setLatitude(double lat)
Set the latitude, in degrees.
|
void |
setLongitude(double lon)
Set the longitude, in degrees.
|
betweenLon, equals, getClockwiseDistanceTo, getLatitude, getLongitude, hashCode, latNormal, latToString, lonDiff, lonNormal, lonNormal, lonNormal360, lonNormalFrom, lonToString, nearlyEquals, range180, set, set, set, toString, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitnearlyEqualspublic static final LatLonPointImmutable INVALID
public LatLonPointImmutable(double lat,
double lon)
public LatLonPointImmutable(LatLonPoint pt)
public void setLongitude(double lon)
throws UnsupportedOperationException
LatLonPointImplsetLongitude in class LatLonPointImpllon - east longitude in degreesUnsupportedOperationException - because instances of this class are meant to be immutable.public void setLatitude(double lat)
LatLonPointImplsetLatitude in class LatLonPointImpllat - north latitude in degreesUnsupportedOperationException - because instances of this class are meant to be immutable.