All Classes and Interfaces
Class
Description
The base class for our
UnitConverter
implementations.This class represents the identity converter (singleton).
This class represents converters made up of two or more separate converters
(in matrix notation
[pair] = [left] x [right]
).
This class represents the immutable result of a measurement stated in a known quantity.
This class represents the default measurement.
This class represents the default measurement.
This class represents the immutable result of a scalar measurement stated in a known unit.
Utility class for number comparison and equality
This class provides the interface for formatting and parsing
quantities
.
An abstract base class for unit systems.
The class represents units founded on the seven SI base units for
seven base quantities assumed to be mutually independent.
Utility class for number comparison and equality
This class provides the interface for formatting and parsing
units
.
This class represents a converter adding a constant offset to numeric values (
double
based).
This class represents units used in expressions to distinguish between quantities of a different nature but of the same dimensions.
This class represents an annotated unit.
Array Utility for the Simplifier.
This class represents the building blocks on top of which all others physical units are created.
An amount of quantity, implementation of
ComparableQuantity
that uses BigInteger
as implementation of Number
, this object
is immutable.
This class provides support for common binary prefixes to be used by units.
BitSet Utility for the Simplifier.
An amount of quantity, consisting of a short and a Unit.
Mathematical helper class
Quantity specialized for the Java SE platform.
Unit specialized for the Java SE platform.
Utility class providing numerical constants such as Pi
Pi calculation with Machin's formula.
An amount of quantity, implementation of
ComparableQuantity
that uses BigDecimal
as implementation of Number
, this object
is immutable.An implementation of interface CharStream, where the stream is assumed to contain only ASCII characters (without unicode processing).
Default format service.
A factory producing simple quantities instances (tuples
For example:
Number
/ Unit
).For example:
Mass m = DefaultQuantityFactory.getInstance(Mass.class).create(23.0, KILOGRAM); // 23.0 kg
Time m = DefaultQuantityFactory.getInstance(Time.class).create(124, MILLI(SECOND)); // 124 ms
This class extends the
ServiceProvider
class and
hereby uses the JDK ServiceLoader
to load the required
services.Deprecated.
For backward-compatibility, to be removed in a future version.
This class represents the physical model used for dimensional analysis.
An amount of quantity, implementation of
ComparableQuantity
that uses Double
as implementation of Number
, this object is
immutable.Helper class that handles internals of formatting in
EBNFUnitFormat
This class represents the local neutral format.
This class represents a exponential converter of limited precision.
An amount of quantity, consisting of a float and a Unit.
Defines different ways of formatting.
An amount of quantity, consisting of an integer and a Unit.
This class represents the local sensitive format.
Deprecated.
use
UnitFormatParser
FIXME there are some details e.g.
This class represents a logarithmic converter of limited precision.
An amount of quantity, consisting of a long and a Unit.
A Measurement contains a
Quantity
and a timestamp.
This class provides support for the 20 prefixes used in the metric system (decimal multiples and submultiples of units).
This class represents a converter multiplying numeric values by a constant
scaling factor (
double
based).Extends
ResourceBundle
with 2 new capabilities.Comparator to sort quantities by natural order, looking both the unit and the value.
An amount of quantity, implementation of
ComparableQuantity
that keep Number
as possible otherwise converts to
DecimalQuantity
, this object is immutable.UnitConverter for numbers in base^exponent representation.
This class represents a converter multiplying numeric values by a factor of
Pi to the power of an integer exponent (π^exponent).
A unit prefix is a specifier or mnemonic that is prepended to units of measurement to indicate multiples or fractions of the units.
This class represents units formed by the product of rational powers of existing physical units.
Inner product element represents a rational power of a single unit.
A factory producing simple quantities instances (tuples
Number
/Unit
).The default factory implementation.
The method invocation handler for implementation backed by any kind of
Number
.Singleton class for accessing
Quantity
instances.
This class represents a quantity dimension (dimension of a physical
quantity).
Formats instances of
Quantity
.A Quantity Range is a pair of
Quantity
items that represent a range of values.A Range is a pair of
T
items that represent a range of values.
This class represents a converter multiplying numeric values by an exact scaling factor (represented as the quotient of two
BigInteger
numbers).An amount of quantity, consisting of a short and a Unit.
A simple implementation of QuantityFormat
This class implements the
UnitFormat
interface for formatting and parsing units
.This class represents the ASCII format.
This class represents the standard format.
This class represents an exponent with both a power (numerator) and a root (denominator).
Flavor of this format
Worker for the Simplifier.
Simplifier for UnitConverter composition yielding a normal-form.
Provides support for Dimensional Analysis.
This class provides a set of mappings between
units
and symbols (both ways), between prefixes
and symbols
(both ways), and from unit converters
to prefixes
(one way).Class that represents
TemporalUnit
in Unit-APITimedData is a container for a data value that keeps track of its age.
Class that represents
TimeUnit
in Unit-APIDescribes the input token stream.
This exception is thrown when token errors are encountered.
Token Manager Error.
This class represents the units derived from other units using converters.
UnitComparator<U extends javax.measure.Unit<?>>
Comparator to sort units by natural order, looking both the name and the symbol.
This class defines commonly used units.
Defines the different variants of unit formatting.
Token literal values and constants.
Token Manager.