|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.xspace.mx.physics.immutable.BaseUnit
org.xspace.mx.physics.immutable.Length
org.xspace.mx.physics.immutable.Kilometer
A Measurement representing a kilometer.
Field Summary |
Fields inherited from class org.xspace.mx.physics.immutable.BaseUnit |
DIM_ANGLE, DIM_LENGTH, DIM_MASS, DIM_TIME, dims, systemValue, TOL |
Constructor Summary | |
Kilometer()
Creates a Measurement equal to one Kilometer |
|
Kilometer(double value)
Creates a Measurement as a multiple of Kilometers |
|
Kilometer(Measurement mx)
Creates a Measurement that is equivalent to the input |
Method Summary | |
java.lang.String |
getAbbr()
An abbreviated description of the units of a Kilometer |
java.lang.String |
getDescription()
A description of the units of a Kilometer |
Methods inherited from class org.xspace.mx.physics.immutable.BaseUnit |
copy, copyBaseUnit, div, div, divInternal, divInternal, getSystem, getSystemDimensions, getSystemValue, getValue, isSameMeasurementType, minus, minusInternal, mult, mult, multInternal, multInternal, plus, plusInternal, pow, powInternal, root, rootInternal, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.xspace.mx.Measurement |
copy, div, div, getSystem, getSystemDimensions, getSystemValue, getValue, minus, mult, mult, plus, pow, root |
Constructor Detail |
public Kilometer()
public Kilometer(double value)
value
- The number of Kilometerspublic Kilometer(Measurement mx)
Method Detail |
public java.lang.String getAbbr()
getAbbr
in interface Measurement
getAbbr
in class BaseUnit
public java.lang.String getDescription()
getDescription
in interface Measurement
getDescription
in class BaseUnit
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |