Package | Description |
---|---|
ucar.units |
Provides support for parsing and formatting string unit specification,
converting numerical values between compatible units, and performing arithmetic
on units (such as dividing one unit by another).
|
Modifier and Type | Class and Description |
---|---|
class |
RegularBaseQuantity
Provides support for a base quantity that is dimensionfull.
|
class |
SupplementaryBaseQuantity
Provides support for supplementary base quantities.
|
class |
UnknownBaseQuantity
Provides support for an unknown base quantity.
|
Modifier and Type | Method and Description |
---|---|
BaseQuantity |
BaseUnit.getBaseQuantity()
Returns the base quantity associated with this base unit.
|
Modifier and Type | Method and Description |
---|---|
int |
BaseQuantity.compareTo(BaseQuantity that)
Compares this base quantity to another base quantity.
|
BaseUnit |
UnitSystem.getBaseUnit(BaseQuantity quantity)
Returns the base unit corresponding to a base quantity.
|
BaseUnit |
UnitSystemImpl.getBaseUnit(BaseQuantity quantity)
Returns the base unit corresponding to a base quantity.
|
static BaseUnit |
BaseUnit.getOrCreate(UnitName id,
BaseQuantity baseQuantity)
Factory method for creating a new BaseUnit or obtaining a
previously-created one.
|
Constructor and Description |
---|
BaseUnit(UnitName id,
BaseQuantity baseQuantity)
Constructs from identifiers and a base quantity.
|
QuantityDimension(BaseQuantity baseQuantity)
Constructs from a base quantity.
|
QuantityExistsException(BaseQuantity quantity)
Constructs from the base quantity being redefined.
|
Copyright © 1999–2017 UCAR/Unidata. All rights reserved.