|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Factor | |
---|---|
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). |
Uses of Factor in ucar.units |
---|
Fields in ucar.units declared as Factor | |
---|---|
protected Factor[] |
Dimension._factors
The individual elements of this dimension. |
Methods in ucar.units that return Factor | |
---|---|
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. |
Methods in ucar.units with parameters of type Factor | |
---|---|
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 |
UnitFormat.format(Factor factor,
StringBuffer buffer)
Appends a formatted factor to a string buffer. |
StringBuffer |
StandardUnitFormat.format(Factor factor,
StringBuffer buf)
Formats a Factor. |
boolean |
Factor.isReciprocalOf(Factor that)
Indicates if this Factor is the reciprocal of another Factor. |
Constructors in ucar.units with parameters of type Factor | |
---|---|
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. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |