public class Distance extends Object
| Constructor and Description |
|---|
Distance(double value)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
Distance |
clone() |
boolean |
equals(Object other) |
double |
get()
Get the distance value.
|
int |
hashCode() |
String |
toString() |
String |
toStringWithUnits()
Format the altitude value as a String.
|
public Distance(double value)
value - the distance (in metres)public double get()
public String toStringWithUnits()
Copyright © 2017. All rights reserved.