public interface UnitSystem
Modifier and Type | Method and Description |
---|---|
BaseUnit |
getBaseUnit(BaseQuantity quantity)
Returns the base unit corresponding to a base quantity.
|
UnitDB |
getBaseUnitDB()
Returns the database of base units.
|
UnitDB |
getUnitDB()
Returns the complete database of units (base units and
derived units acceptable for use in the system of units.
|
UnitDB getBaseUnitDB()
UnitDB getUnitDB()
BaseUnit getBaseUnit(BaseQuantity quantity)
quantity
- A base quantity.null
if no such
unit exists.