Package | Description |
---|---|
tec.units.ri |
This package provides support for physics units, in conformity with the
Units of Measurement API.
|
tec.units.ri.quantity |
Modifier and Type | Method and Description |
---|---|
boolean |
AbstractQuantity.equals(AbstractQuantity<Q> that,
double epsilon,
javax.measure.Unit<Q> epsilonUnit)
Compares this measure and the specified Measurement to the given accuracy.
|
Modifier and Type | Class and Description |
---|---|
class |
NumberQuantity<Q extends javax.measure.Quantity<Q>>
An amount of quantity, consisting of a Number and a Unit.
|
Modifier and Type | Method and Description |
---|---|
static <Q extends javax.measure.Quantity<Q>> |
NumberQuantity.of(double doubleValue,
javax.measure.Unit<Q> unit)
Returns the scalar quantity for the specified
double stated in the specified unit. |
static <Q extends javax.measure.Quantity<Q>> |
NumberQuantity.of(float floatValue,
javax.measure.Unit<Q> unit)
Returns the scalar quantity for the specified
float stated in the specified unit. |
static <Q extends javax.measure.Quantity<Q>> |
NumberQuantity.of(int intValue,
javax.measure.Unit<Q> unit)
Returns the scalar quantity for the specified
int stated in the specified unit. |
static <Q extends javax.measure.Quantity<Q>> |
NumberQuantity.of(long longValue,
javax.measure.Unit<Q> unit)
Returns the scalar quantity for the specified
long stated in the specified unit. |
static <Q extends javax.measure.Quantity<Q>> |
NumberQuantity.of(short value,
javax.measure.Unit<Q> unit)
Returns the scalar quantity for the specified
short stated in the specified unit. |
Modifier and Type | Method and Description |
---|---|
protected javax.measure.Quantity<Q> |
NumberQuantity.add(AbstractQuantity<Q> that) |
Copyright © 2005–2017 Jean-Marie Dautelle, Werner Keil, V2COM. All rights reserved.