| Modifier and Type | Field and Description |
|---|---|
protected Factor[] |
Dimension._factors
The individual elements of this dimension.
|
| Modifier and Type | Method and Description |
|---|---|
Factor[] |
Dimension.getFactors()
Returns the array of Factor-s constituting this dimension.
|
protected Factor[] |
Dimension.mult(Dimension that)
Multiplies this dimension by another dimension.
|
protected Factor[] |
Dimension.pow(int power)
Raises this dimension to a power.
|
Factor |
Factor.pow(int power)
Raises this Factor to a power.
|
| Modifier and Type | Method and Description |
|---|---|
String |
UnitFormatImpl.format(Factor factor)
Formats a Factor (a base unit/exponent pair).
|
String |
UnitFormat.format(Factor factor)
Formats a Factor (a base unit/exponent pair).
|
StringBuffer |
StandardUnitFormat.format(Factor factor,
StringBuffer buf)
Formats a Factor.
|
StringBuffer |
UnitFormat.format(Factor factor,
StringBuffer buffer)
Appends a formatted factor to a string buffer.
|
boolean |
Factor.isReciprocalOf(Factor that)
Indicates if this Factor is the reciprocal of another Factor.
|
| Constructor and Description |
|---|
Dimension(Factor factor)
Constructs from a single Factor.
|
Dimension(Factor[] factors)
Constructs from an array of Factor-s.
|
Factor(Factor factor,
int exponent)
Constructs from a Factor and an exponent.
|
QuantityDimension(Factor[] factors)
Constructs from an array of Factor-s.
|
Copyright © 1999-2015 UCAR/Unidata. All Rights Reserved.