Package com.storedobject.core
Class MeasurementUnit
java.lang.Object
com.storedobject.core.MeasurementUnit
-
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic MeasurementUnitstatic MeasurementUnitget(String unit, MeasurementUnit similar) static MeasurementUnitGet theQuantityclass for this measurement unit.intgetType()getUnit()booleaninthashCode()booleanisCompatible(MeasurementUnit another) booleanstatic <Q extends Quantity>
List<MeasurementUnit> static voidreload()toString()
-
Method Details
-
getUnit
-
hasDecimals
public boolean hasDecimals() -
isObsolete
public boolean isObsolete() -
get
-
get
-
get
-
reload
public static void reload() -
getType
public int getType() -
getTypeName
-
equals
-
toString
-
getMultiplier
-
hashCode
-
getQuantityClass
-
list
-
isCompatible
-