public class GPSPointDimension extends Object implements Serializable
| Constructor and Description |
|---|
GPSPointDimension() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
GPSCoordinates |
getCoordinates()
Coordinate to measure distance from.
|
Double |
getRangeInKilometers()
Range in kilometers from the coordinate.
|
int |
hashCode() |
void |
setCoordinates(GPSCoordinates coordinates)
Coordinate to measure distance from.
|
void |
setRangeInKilometers(Double rangeInKilometers)
Range in kilometers from the coordinate.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GPSPointDimension |
withCoordinates(GPSCoordinates coordinates)
Coordinate to measure distance from.
|
GPSPointDimension |
withRangeInKilometers(Double rangeInKilometers)
Range in kilometers from the coordinate.
|
public GPSCoordinates getCoordinates()
public void setCoordinates(GPSCoordinates coordinates)
coordinates - Coordinate to measure distance from.public GPSPointDimension withCoordinates(GPSCoordinates coordinates)
Returns a reference to this object so that method calls can be chained together.
coordinates - Coordinate to measure distance from.public Double getRangeInKilometers()
public void setRangeInKilometers(Double rangeInKilometers)
rangeInKilometers - Range in kilometers from the coordinate.public GPSPointDimension withRangeInKilometers(Double rangeInKilometers)
Returns a reference to this object so that method calls can be chained together.
rangeInKilometers - Range in kilometers from the coordinate.public String toString()
toString in class ObjectObject.toString()Copyright © 2019. All rights reserved.