faa.tg.units
Class Range

java.lang.Object
  extended by faa.tg.units.AMeasure
      extended by faa.tg.units.Distance
          extended by faa.tg.units.Range
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<AMeasure>

public class Range
extends Distance

 Range represents a wrapper for Distance.
 
See the source: Range.java

Version:
$Id: Range.java,v 3.1 2006/03/14 16:00:05 samf Exp $
Author:
Michael E. Ross
See Also:
AUnits, AMeasure, Acceleration, Distance, Units, Serialized Form

Field Summary
static java.lang.String CVS_VERSION_ID
          The CVS Version ID
(package private) static long serialVersionUID
           
 
Fields inherited from class faa.tg.units.Distance
FIVE_NM, FT_1, FT_10, FT_1000, FT_3000, FT_5, FT_50, FT_500, NM_1, NM_10, NM_100, NM_1000, NM_20, NM_3, NM_4, NM_5, NM_50, NM_HALF, ONE_FT, 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
Range(double theValue, DistanceUnits theUnits)
          Constructor for the Range class
 
Method Summary
 
Methods inherited from class faa.tg.units.Distance
abs, add, as, eq, ge, gt, le, lt, main, parseDistance, ratio, sub, toDraText, toString
 
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

serialVersionUID

static final long serialVersionUID
See Also:
Constant Field Values

CVS_VERSION_ID

public static final java.lang.String CVS_VERSION_ID
The CVS Version ID

See Also:
Constant Field Values
Constructor Detail

Range

public Range(double theValue,
             DistanceUnits theUnits)
Constructor for the Range class

Parameters:
theValue - the magnitude of Range as a double
theUnits - the units of the value that will be stored (ex: km)