Package | Description |
---|---|
tech.units.indriya |
This package provides the Reference Implementation of the
Units of Measurement API.
|
tech.units.indriya.unit |
This package provides supports for physics units, in conformity with the
Units of Measurement API.
|
Modifier and Type | Class | Description |
---|---|---|
class |
AbstractUnit<Q extends javax.measure.Quantity<Q>> |
The class represents units founded on the seven SI base units for
seven base quantities assumed to be mutually independent.
|
Modifier and Type | Method | Description |
---|---|---|
<T extends javax.measure.Quantity<T>> |
AbstractUnit.asType(Class<T> type) |
Casts this unit to a parameterized unit of specified nature or throw a
ClassCastException if the dimension of the specified quantity and this unit's
dimension do not match (regardless whether or not the dimensions are
independent or not).
|
Modifier and Type | Method | Description |
---|---|---|
static boolean |
AbstractUnit.Equalizer.areEqual(ComparableUnit u1,
ComparableUnit u2) |
Indicates if this unit is considered equals to the specified object.
|
protected javax.measure.Unit<?> |
AbstractUnit.divide(ComparableUnit<?> that) |
Returns the quotient of this physical unit with the one specified.
|
protected javax.measure.Unit<?> |
AbstractUnit.multiply(ComparableUnit<?> that) |
Returns the product of this physical unit with the one specified.
|
Modifier and Type | Class | Description |
---|---|---|
class |
AlternateUnit<Q extends javax.measure.Quantity<Q>> |
This class represents units used in expressions to distinguish between quantities of a different nature but of the same dimensions.
|
class |
AnnotatedUnit<Q extends javax.measure.Quantity<Q>> |
This class represents an annotated unit.
|
class |
BaseUnit<Q extends javax.measure.Quantity<Q>> |
This class represents the building blocks on top of which all others physical units are created.
|
class |
ProductUnit<Q extends javax.measure.Quantity<Q>> |
This class represents units formed by the product of rational powers of existing physical units.
|
class |
TransformedUnit<Q extends javax.measure.Quantity<Q>> |
This class represents the units derived from other units using converters.
|
Copyright © 2005–2020 Units of Measurement project. All rights reserved.