Package | Description |
---|---|
javax.measure |
Specifies Java packages for the programmatic, type safe handling
of quantities and their expression as values of units.
|
javax.measure.spi |
[OPTIONAL] The Units of Measurement SPI.
|
Modifier and Type | Method | Description |
---|---|---|
Dimension |
Dimension.divide(Dimension divisor) |
Returns the quotient of this dimension with the one specified.
|
Dimension |
Unit.getDimension() |
Returns the dimension of this unit.
|
Dimension |
Dimension.multiply(Dimension multiplicand) |
Returns the product of this dimension with the one specified.
|
Dimension |
Dimension.pow(int n) |
Returns this dimension raised to an exponent.
|
Dimension |
Dimension.root(int n) |
Returns the given root of this dimension.
|
Modifier and Type | Method | Description |
---|---|---|
Map<? extends Dimension,Integer> |
Dimension.getBaseDimensions() |
Returns the (fundamental) base dimensions and their exponent whose product is this dimension, or
null if this dimension is a base
dimension. |
Modifier and Type | Method | Description |
---|---|---|
Dimension |
Dimension.divide(Dimension divisor) |
Returns the quotient of this dimension with the one specified.
|
Dimension |
Dimension.multiply(Dimension multiplicand) |
Returns the product of this dimension with the one specified.
|
Modifier and Type | Method | Description |
---|---|---|
Set<? extends Unit<?>> |
SystemOfUnits.getUnits(Dimension dimension) |
Returns the units defined in this system having the specified dimension (convenience method).
|
Copyright © 2014–2019 Jean-Marie Dautelle, Werner Keil, Otavio Santana. All rights reserved.