Uses of Class
javax.measure.Quantity.Scale
| 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.
|
-
Uses of Quantity.Scale in javax.measure
Methods in javax.measure that return Quantity.Scale Modifier and Type Method Description Quantity.ScaleQuantity. getScale()Returns theScaleof thisQuantity, if it's absolute or relative.static Quantity.ScaleQuantity.Scale. valueOf(String name)Returns the enum constant of this type with the specified name.static Quantity.Scale[]Quantity.Scale. values()Returns an array containing the constants of this enum type, in the order they are declared. -
Uses of Quantity.Scale in javax.measure.spi
Methods in javax.measure.spi with parameters of type Quantity.Scale Modifier and Type Method Description Quantity<Q>QuantityFactory. create(Number value, Unit<Q> unit, Quantity.Scale scale)Returns the quantity for the specified number stated in the specified unit and scale.