@Deprecated @Immutable public class LatLonPointImmutable extends LatLonPointImpl
LatLonPoint
.Modifier and Type | Field and Description |
---|---|
static LatLonPointImmutable |
INVALID
Deprecated.
|
lat, lon
Constructor and Description |
---|
LatLonPointImmutable(double lat,
double lon)
Deprecated.
|
LatLonPointImmutable(LatLonPoint pt)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
setLatitude(double lat)
Deprecated.
Set the latitude, in degrees.
|
void |
setLongitude(double lon)
Deprecated.
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, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
create, create, nearlyEquals
public static final LatLonPointImmutable INVALID
public LatLonPointImmutable(double lat, double lon)
public LatLonPointImmutable(LatLonPoint pt)
public void setLongitude(double lon) throws java.lang.UnsupportedOperationException
LatLonPointImpl
setLongitude
in class LatLonPointImpl
lon
- east longitude in degreesjava.lang.UnsupportedOperationException
- because instances of this class are meant to be immutable.public void setLatitude(double lat)
LatLonPointImpl
setLatitude
in class LatLonPointImpl
lat
- north latitude in degreesjava.lang.UnsupportedOperationException
- because instances of this class are meant to be immutable.