public class GPSPointDimension
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
GPSPointDimension() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
GPSCoordinates |
getCoordinates()
Coordinate to measure distance from.
|
java.lang.Double |
getRangeInKilometers()
Range in kilometers from the coordinate.
|
int |
hashCode() |
void |
setCoordinates(GPSCoordinates coordinates)
Coordinate to measure distance from.
|
void |
setRangeInKilometers(java.lang.Double rangeInKilometers)
Range in kilometers from the coordinate.
|
java.lang.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(java.lang.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 java.lang.Double getRangeInKilometers()
public void setRangeInKilometers(java.lang.Double rangeInKilometers)
rangeInKilometers
- Range in kilometers from the coordinate.public GPSPointDimension withRangeInKilometers(java.lang.Double rangeInKilometers)
Returns a reference to this object so that method calls can be chained together.
rangeInKilometers
- Range in kilometers from the coordinate.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.