Class Distances

java.lang.Object
overit.geocall.util.measure.Measure
overit.geocall.util.measure.distances.Distances
All Implemented Interfaces:
Serializable

public class Distances extends Measure
List of managed unit measurement that belongs to the distances category.
The surveyed units of measurement are:
See Also:
  • Field Details

    • KILOMETERS

      public static final Distances KILOMETERS
    • METERS

      public static final Distances METERS
    • CENTIMETERS

      public static final Distances CENTIMETERS
    • MILLIMETERS

      public static final Distances MILLIMETERS
    • MILES

      public static final Distances MILES
    • YARDS

      public static final Distances YARDS
    • FEET

      public static final Distances FEET
    • INCHES

      public static final Distances INCHES
  • Method Details

    • getSymbol

      public String getSymbol()
      Description copied from class: Measure
      Gets the symbol associated to the unit measurement.
      For example, kilometers have the "km" symbol, miles have the "mi" symbol and so on.
      Specified by:
      getSymbol in class Measure
      Returns:
      The symbol associated to the unit measurement.
    • getConverterClass

      public BaseConverter getConverterClass()
      Description copied from class: Measure
      Gets the class in which the conversion functions, from/to other units of measurement, are implemented.
      Specified by:
      getConverterClass in class Measure
      Returns:
      The class in which the conversion functions, from/to other units of measurement, are implemented.
    • getAlias

      public String getAlias()
      Description copied from class: Measure
      Gets the alias name of the unit of measurement
      Specified by:
      getAlias in class Measure
      Returns:
      The alias name of the unit of measurement