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 | Class and Description |
---|---|
class |
BinaryPrefix
This class provides support for common binary prefixes to be used by units.
|
class |
MetricPrefix
This class provides support for the 20 prefixes used in the metric system (decimal multiples and submultiples of units).
|
Modifier and Type | Method and Description |
---|---|
Unit<Q> |
Unit.prefix(Prefix prefix)
Returns a new unit equal to this unit prefixed by the specified
prefix . |
Modifier and Type | Method and Description |
---|---|
default java.util.Set<Prefix> |
SystemOfUnitsService.getPrefixes(java.lang.Class prefixType)
Returns a
Set containing the values of a particular Prefix
type.This method may be used to iterate over the prefixes as follows: |
Copyright © 2014–2018 Jean-Marie Dautelle, Werner Keil, Otavio Santana. All rights reserved.