Top Description Interfaces Classes Enums
[default module]

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 javax.measure.Dimension, javax.measure.Prefix, javax.measure.Quantity and javax.measure.Unit.

The package also contains the most common javax.measure.Prefix implementations javax.measure.MetricPrefix and javax.measure.BinaryPrefix.

Authors
Jean-Marie Dautelle, Werner Keil, Otávio Gonçalves de Santana
Since
1.0
Version
1.7, February 4, 2019

Interface Summary

Modifier and TypeInterface and Description
public interface
Dimension

Represents the dimension of a unit.

public interface
Prefix

A unit prefix is a specifier or mnemonic that is prepended to units of measurement to indicate multiples or fractions of the units.

public interface
Quantity<
The type of the quantity.
Q extends Quantity<Q>
>

Represents a quantitative property of a phenomenon, body, or substance, that can be quantified by measurement.

public interface
Unit<
The type of the quantity measured by this unit.
Q extends Quantity<Q>
>

Represents a determinate quantity (as of length, time, heat, or value) adopted as a standard of measurement.

public interface
UnitConverter

A converter of numeric values between different units.

Class Summary

Modifier and TypeClass and Description
public class
IncommensurableException

Signals that a problem of some sort has occurred due to incommensurable of some quantities/units.

public class
MeasurementError

This error is used to indicate serious problems with creating, retrieving and manipulating units of measurement objects.

public class
MeasurementException

Exception used to indicate a problem while dealing with units of measurement.

public class
UnconvertibleException

Signals that a problem of some sort has occurred due to the impossibility of constructing a converter between two units.

Enum Summary

Modifier and TypeEnum and Description
public enum
BinaryPrefix

Provides support for common binary prefixes to be used by units.

public enum
MetricPrefix

Provides support for the 24 prefixes used in the metric system (decimal multiples and submultiples of units).