Package com.xffffff.wellfed.unit
Class VolumeUnit
- java.lang.Object
-
- com.xffffff.wellfed.unit.Unit
-
- com.xffffff.wellfed.unit.VolumeUnit
-
public class VolumeUnit extends Unit
VolumeUnit is an enum that contains all the volume 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
static java.lang.String
smallestMetricUnit
The smallest unit for metric volumestatic java.util.HashMap<java.lang.String,java.util.Set<java.lang.String>>
UNIT_SYSTEMS
-
Fields inherited from class com.xffffff.wellfed.unit.Unit
conversionFactor, systems
-
-
Constructor Summary
Constructors Constructor Description VolumeUnit(java.lang.String unit)
Constructor for the VolumeUnit 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 volume- See Also:
- Constant Field Values
-
CONVERSION_FACTORS
public static final java.util.HashMap<java.lang.String,java.lang.Double> CONVERSION_FACTORS
-
UNIT_SYSTEMS
public static final java.util.HashMap<java.lang.String,java.util.Set<java.lang.String>> UNIT_SYSTEMS
-
-