|
|||||||||||
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.AstronomicalUnit
A Measurement representing an Astronomical Unit. An Astronomical Unit is an approximate distance between the Earth and the Sun. According to the Jet Propulsion Laboratory, 1 AU = 149,597,870.691 kilometers
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 | |
AstronomicalUnit()
Creates a Measurement equal to one Astronomical Unit |
|
AstronomicalUnit(double value)
Creates a Measurement as a multiple of Astronomical Units |
|
AstronomicalUnit(Measurement mx)
Creates a Measurement that is equivalent to the input |
Method Summary | |
java.lang.String |
getAbbr()
An abbreviated description of the units of an Astronomical Unit |
java.lang.String |
getDescription()
A description of the units of an Astronomical Unit |
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 AstronomicalUnit()
public AstronomicalUnit(double value)
value
- The number of Astronomical Unitspublic AstronomicalUnit(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 |