Package | Description |
---|---|
tec.units.ri |
This package provides support for physics units, in conformity with the
Units of Measurement API.
|
tec.units.ri.unit |
Modifier and Type | Method and Description |
---|---|
AbstractUnit<Q> |
AbstractUnit.getSystemUnit()
Returns the system unit (unscaled SI unit) from which this unit is derived.
|
protected abstract AbstractUnit<Q> |
AbstractUnit.toSystemUnit()
Returns the unscaled standard (SI) unit from which this unit is derived.
|
Modifier and Type | Method and Description |
---|---|
javax.measure.Unit<?> |
AbstractUnit.multiply(AbstractUnit<?> that)
Returns the product of this physical unit with the one specified.
|
Modifier and Type | Class and 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.
|
Modifier and Type | Method and Description |
---|---|
AbstractUnit<?> |
AlternateUnit.getParentUnit()
Returns the parent unit of this alternate unit, always a system unit and never an alternate unit.
|
AbstractUnit<Q> |
TransformedUnit.toSystemUnit() |
AbstractUnit<Q> |
ProductUnit.toSystemUnit() |
AbstractUnit<Q> |
BaseUnit.toSystemUnit() |
AbstractUnit<Q> |
AnnotatedUnit.toSystemUnit() |
AbstractUnit<Q> |
AlternateUnit.toSystemUnit() |
Modifier and Type | Method and Description |
---|---|
Map<? extends AbstractUnit<Q>,Integer> |
BaseUnit.getBaseUnits() |
Modifier and Type | Method and Description |
---|---|
static javax.measure.Unit<?> |
ProductUnit.getProductInstance(AbstractUnit<?> left,
AbstractUnit<?> right)
Returns the product of the specified units.
|
static javax.measure.Unit<?> |
ProductUnit.getProductInstance(AbstractUnit<?> left,
AbstractUnit<?> right)
Returns the product of the specified units.
|
static javax.measure.Unit<?> |
ProductUnit.getRootInstance(AbstractUnit<?> unit,
int n)
Returns the product unit corresponding to the specified root of the specified unit.
|
Constructor and Description |
---|
AlternateUnit(AbstractUnit<?> parentUnit,
String symbol)
Creates an alternate unit for the specified system unit identified by the specified name and symbol.
|
TransformedUnit(AbstractUnit<Q> parentUnit,
javax.measure.UnitConverter unitConverter)
Creates a transformed unit from the specified parent unit.
|
Copyright © 2005–2017 Jean-Marie Dautelle, Werner Keil, V2COM. All rights reserved.