ucar.units
Interface UnitSystem

All Known Implementing Classes:
SI, UnitSystemImpl

public interface UnitSystem

Interface for a system of units.

Version:
$Id: UnitSystem.java 64 2006-07-12 22:30:50Z edavis $
Author:
Steven R. Emmerson

Method Summary
 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.
 

Method Detail

getBaseUnitDB

UnitDB getBaseUnitDB()
Returns the database of base units.

Returns:
The database of base units.

getUnitDB

UnitDB getUnitDB()
Returns the complete database of units (base units and derived units acceptable for use in the system of units.

Returns:
The complete database of units.

getBaseUnit

BaseUnit getBaseUnit(BaseQuantity quantity)
Returns the base unit corresponding to a base quantity.

Parameters:
quantity - A base quantity.
Returns:
The base unit corresponding to the base quantity or null if no such unit exists.


Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.