public final class Distance
extends Object
Represents a distance which contains a value and its units.
- Since:
- 100.3.0
-
Method Summary 
Gets the unit of the value.
double
Gets the value of the distance.
Methods inherited from class java.lang.Object 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details 
-
getValue 
public double getValue()
Gets the value of the distance.
- Returns:
- the value of the distance
- Since:
- 100.3.0
-
getUnit 
Gets the unit of the value.
- Returns:
- the unit of the value
- Since:
- 100.3.0