Package overit.geocall.util.measure
package overit.geocall.util.measure
-
ClassDescriptionInterface that defines the two mandatory methods, to make conversions between units measurement.Abstract class that defines an unit of measurement and its information.
A unit of measurement is characterized by an abbreviation symbol and by the class in which its conversion functions, from/to other units of measurement, are implemented.This class aims to make conversions between units measurement.
To convert a value it's mandatory to defines an origin unit and a destination unit, between which you want to make the conversion.
See for exampleMeasureConverter.get(overit.geocall.util.measure.distances.Distances, overit.geocall.util.measure.distances.Distances)andMeasureConverter.convert(java.lang.Double)Wrapper class that represent aMeasurewith its output display decimal precision defined into the user's language preference (cultural conventions).