Package org.nasengolem.util.units
Class PhysicalQuantity
java.lang.Object
org.nasengolem.util.units.PhysicalQuantity
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract int
protected abstract Temperature.Unit
getRoundedValue
(PhysicalQuantity.Unit unit, int decimalPlaces) double
toString()
toString
(PhysicalQuantity.Unit unit, int decimalPlaces) toString
(PhysicalQuantity.Unit unit, int decimalPlaces, boolean abbreviateUnitName)
-
Field Details
-
valueInBaseUnit
protected final double valueInBaseUnit
-
-
Constructor Details
-
PhysicalQuantity
-
-
Method Details
-
getInternalUnit
-
getDefaultDecimalPlaces
protected abstract int getDefaultDecimalPlaces() -
getValue
-
getRoundedValue
-
toString
-
toString
-
toString
-
toString
-