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 | Method and Description |
---|---|
UnitDimension |
UnitDimension.divideBy(UnitDimension that)
Divides this unit dimension by another.
|
UnitDimension |
DerivedUnitImpl.getDimension()
Returns the unit dimension of this derived unit.
|
UnitDimension |
DerivedUnit.getDimension()
Returns the unit dimension of this derived unit.
|
UnitDimension |
UnitDimension.multiplyBy(UnitDimension that)
Multiplies this unit dimension by another.
|
UnitDimension |
UnitDimension.raiseTo(int power)
Raises this unit dimension to a power.
|
Modifier and Type | Method and Description |
---|---|
UnitDimension |
UnitDimension.divideBy(UnitDimension that)
Divides this unit dimension by another.
|
UnitDimension |
UnitDimension.multiplyBy(UnitDimension that)
Multiplies this unit dimension by another.
|
protected void |
DerivedUnitImpl.setDimension(UnitDimension dimension)
Sets the unit dimension of this derived unit.
|
Constructor and Description |
---|
DerivedUnitImpl(UnitDimension dimension)
Constructs from a unit dimension.
|
DerivedUnitImpl(UnitDimension dimension,
UnitName id)
Constructs from a unit dimension and identifiers.
|
Copyright © 1999–2015 UCAR/Unidata. All rights reserved.