|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.xspace.mx.physics.SI.Length
An instance of Unit
that represents a length within the SI.
Constructor Summary | |
SI.Length()
|
|
SI.Length(double power)
|
Method Summary | |
double |
getPower()
The power that the UnitType has been raised to. |
UnitType |
getType()
A reference to UnitType that this Unit is a multiple of. |
void |
setPower(double power)
The power that this Unit should be set to. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SI.Length()
public SI.Length(double power)
Method Detail |
public double getPower()
Unit
UnitType
has been raised to.
getPower
in interface Unit
UnitType
has been raised to.public void setPower(double power)
Unit
Unit
should be set to.
setPower
in interface Unit
power
- The power that this Unit
should be set to.public UnitType getType()
Unit
UnitType
that this Unit
is a multiple of.
getType
in interface Unit
UnitType
that this Unit
is a multiple of.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |