Package javax.measure
Specifies Java packages for the programmatic, type safe handling
of quantities and their expression as values of units.
The core interfaces of this package are Dimension
, Prefix
, Quantity
and Unit
.
The package also contains the most common Prefix
implementations MetricPrefix
and BinaryPrefix
.
- Since:
- 1.0
- Version:
- 1.7, February 4, 2019
- Author:
- Jean-Marie Dautelle, Werner Keil, Otávio Gonçalves de Santana
-
Interface Summary Interface Description Dimension Represents the dimension of a unit.Prefix A unit prefix is a specifier or mnemonic that is prepended to units of measurement to indicate multiples or fractions of the units.Quantity<Q extends Quantity<Q>> Represents a quantitative property of a phenomenon, body, or substance, that can be quantified by measurement.Unit<Q extends Quantity<Q>> Represents a determinate quantity (as of length, time, heat, or value) adopted as a standard of measurement.UnitConverter A converter of numeric values between different units. -
Enum Summary Enum Description BinaryPrefix Provides support for common binary prefixes to be used by units.MetricPrefix Provides support for the 20 prefixes used in the metric system (decimal multiples and submultiples of units).Quantity.Scale -
Exception Summary Exception Description IncommensurableException Signals that a problem of some sort has occurred due to incommensurable of some quantities/units.MeasurementException Exception used to indicate a problem while dealing with units of measurement.UnconvertibleException Signals that a problem of some sort has occurred due to the impossibility of constructing a converter between two units. -
Error Summary Error Description MeasurementError This error is used to indicate serious problems with creating, retrieving and manipulating units of measurement objects.