Package com.xffffff.wellfed.unit
Class MassUnit
- java.lang.Object
-
- com.xffffff.wellfed.unit.Unit
-
- com.xffffff.wellfed.unit.MassUnit
-
public class MassUnit extends Unit
MassUnit is a class that contains all the mass units that are supported by the app
-
-
Field Summary
Fields Modifier and Type Field Description static java.util.HashMap<java.lang.String,java.lang.Double>
CONVERSION_FACTORS
The conversion factors for the mass unitsstatic java.lang.String
smallestMetricUnit
The smallest unit for metric massstatic java.util.HashMap<java.lang.String,java.util.Set<java.lang.String>>
UNIT_SYSTEMS
The unit systems that the mass units are in-
Fields inherited from class com.xffffff.wellfed.unit.Unit
conversionFactor, systems
-
-
Constructor Summary
Constructors Constructor Description MassUnit(java.lang.String unit)
Constructor for the MassUnit class
-
Method Summary
-
Methods inherited from class com.xffffff.wellfed.unit.Unit
getConversionFactor, getSystems, getUnit
-
-
-
-
Field Detail
-
smallestMetricUnit
public static final java.lang.String smallestMetricUnit
The smallest unit for metric mass- See Also:
- Constant Field Values
-
CONVERSION_FACTORS
public static final java.util.HashMap<java.lang.String,java.lang.Double> CONVERSION_FACTORS
The conversion factors for the mass units
-
UNIT_SYSTEMS
public static final java.util.HashMap<java.lang.String,java.util.Set<java.lang.String>> UNIT_SYSTEMS
The unit systems that the mass units are in
-
-