Package com.xffffff.wellfed.unit
Class CountUnit
- java.lang.Object
-
- com.xffffff.wellfed.unit.Unit
-
- com.xffffff.wellfed.unit.CountUnit
-
public class CountUnit extends Unit
CountUnit is a class that contains all the count 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 count unitsstatic java.lang.String
smallestMetricUnit
The smallest unit for countstatic java.util.HashMap<java.lang.String,java.util.Set<java.lang.String>>
UNIT_SYSTEMS
The unit systems that the count units are in-
Fields inherited from class com.xffffff.wellfed.unit.Unit
conversionFactor, systems
-
-
Constructor Summary
Constructors Constructor Description CountUnit(java.lang.String unit)
Constructor for the CountUnit 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 count- 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 count 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 count units are in
-
-