com.isti.util
Interface MeasurementUnitsInformation

All Known Implementing Classes:
LocationDistance, LocationDistanceInformation, MeasurementUnits

public interface MeasurementUnitsInformation

Interface MeasurementUnitsInformation constants and methods for getting/setting the measurement units.


Field Summary
static int DEFAULT_MEASUREMENT_UNITS
          The default measurement units.
static int FEET
          Feet distance units.
static double FEET_TO_METER
          Feet to meters multiplier.
static int KILOM
          Kilometer distance units.
static double KM_TO_MILE
          Kilometers to miles multiplier.
static int METER
          Meter distance units.
static double METER_TO_FEET
          Meters to feet multiplier.
static double METER_TO_KM
          Meters to kilometers multiplier.
static double METER_TO_MILE
          Meters to miles multiplier.
static double MILE_TO_KM
          Miles to kilometers multiplier.
static double MILE_TO_METER
          Miles to meters multiplier.
static int MILES
          Miles distance units.
 
Method Summary
 int getMeasurementUnits()
          Gets the measurement units.
 void setMeasurementUnits(int mu)
          Sets the measurement units.
 

Field Detail

KILOM

static final int KILOM
Kilometer distance units.

See Also:
Constant Field Values

METER

static final int METER
Meter distance units.

See Also:
Constant Field Values

MILES

static final int MILES
Miles distance units.

See Also:
Constant Field Values

FEET

static final int FEET
Feet distance units.

See Also:
Constant Field Values

DEFAULT_MEASUREMENT_UNITS

static final int DEFAULT_MEASUREMENT_UNITS
The default measurement units.

See Also:
Constant Field Values

FEET_TO_METER

static final double FEET_TO_METER
Feet to meters multiplier.

See Also:
Constant Field Values

METER_TO_FEET

static final double METER_TO_FEET
Meters to feet multiplier.

See Also:
Constant Field Values

MILE_TO_METER

static final double MILE_TO_METER
Miles to meters multiplier.

See Also:
Constant Field Values

METER_TO_MILE

static final double METER_TO_MILE
Meters to miles multiplier.

See Also:
Constant Field Values

MILE_TO_KM

static final double MILE_TO_KM
Miles to kilometers multiplier.

See Also:
Constant Field Values

KM_TO_MILE

static final double KM_TO_MILE
Kilometers to miles multiplier.

See Also:
Constant Field Values

METER_TO_KM

static final double METER_TO_KM
Meters to kilometers multiplier.

See Also:
Constant Field Values
Method Detail

getMeasurementUnits

int getMeasurementUnits()
Gets the measurement units.

Returns:
the measurement units.

setMeasurementUnits

void setMeasurementUnits(int mu)
Sets the measurement units.

Parameters:
mu - the measurement units.