|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfaa.tg.units.AMeasure
faa.tg.units.Acceleration
public class Acceleration
Acceleration represents the object for measuring units of AccelerationSee the source: Acceleration.java See section 5.6 of the Detailed Design Document for a discussion of design issues.
AUnits,
AMeasure,
Acceleration,
Angle,
Density,
Distance,
Force,
Mass,
Pressure,
Speed,
Temperature,
Time,
Weight,
Serialized Form| Field Summary | |
|---|---|
static java.lang.String |
CVS_VERSION_ID
The CVS Version ID |
(package private) static long |
serialVersionUID
|
static Acceleration |
ZERO
|
| Fields inherited from class faa.tg.units.AMeasure |
|---|
DEC0, DEC0_, DEC00, DEC000, DEC1, DEC1_, DEC12, DEC12_, DEC1L, DEC1L_, DEC2, DEC2_, DEC3, DEC3_, DEC4, DEC4_, DEC5, DEC5_, DEC6, DEC6_, DEC7, DEC7_, DEC9, DEC9_, itsValue, TIME_FRACTION |
| Constructor Summary | |
|---|---|
Acceleration(double theValue,
AccelerationUnits theUnits)
Constructor for the Acceleration class |
|
| Method Summary | |
|---|---|
Acceleration |
abs()
This method returns a clone that is the absolute value of this object. |
Acceleration |
add(Acceleration theMeasure)
This summation method adds a value with like units. |
double |
as(AccelerationUnits theUnits)
The as method extracts the value from a Measure in specified units. |
boolean |
eq(Acceleration theMeasure)
This method provides a test for equality. |
boolean |
ge(Acceleration theMeasure)
This method provides a test for less than / equal to. |
boolean |
gt(Acceleration theMeasure)
This method provides a test for greater than. |
boolean |
le(Acceleration theMeasure)
This method provides a test for greater than / equal to. |
boolean |
lt(Acceleration theMeasure)
This method provides a test for less than. |
double |
ratio(Acceleration val)
This division method produces a dimensionless ratio of like measures. |
Acceleration |
sub(Acceleration theMeasure)
This subtraction method subtracts a value with like units. |
java.lang.String |
toString()
This method returns the String representation of this object in the units with which it was constructed. |
| Methods inherited from class faa.tg.units.AMeasure |
|---|
absoluteValue, add, as, as, clone, compareTo, debug, div, eq, equals, ge, getAUnit, getCanonicalUnit, getCanonicalValue, getInitialUnit, getUnitClass, gt, hashCode, isBetween, le, lt, mul, ratio, sub, toAMeasure, toString, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final Acceleration ZERO
static final long serialVersionUID
public static final java.lang.String CVS_VERSION_ID
| Constructor Detail |
|---|
public Acceleration(double theValue,
AccelerationUnits theUnits)
theValue - the magnitude of Acceleration as a doubletheUnits - the units of the value that will be stored (ex: km)| Method Detail |
|---|
public Acceleration add(Acceleration theMeasure)
theMeasure - the unit of measure you wish to add to this measure.
public Acceleration sub(Acceleration theMeasure)
theMeasure - the unit of measure you wish to sub from this measure.
public Acceleration abs()
public double ratio(Acceleration val)
public boolean eq(Acceleration theMeasure)
public boolean lt(Acceleration theMeasure)
public boolean gt(Acceleration theMeasure)
public boolean ge(Acceleration theMeasure)
public boolean le(Acceleration theMeasure)
public double as(AccelerationUnits theUnits)
theUnits - the units of the value that will be returned (ex: km)
public java.lang.String toString()
toString in class AMeasureUnits
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||