The core interfaces of this package are Dimension, Prefix, Quantity and Unit.
The package also contains the most common Prefix implementations MetricPrefix and BinaryPrefix.
| 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 | 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 | 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.
|
Copyright © 2014–2019 Jean-Marie Dautelle, Werner Keil, Otavio Santana. All rights reserved.