Package | Description |
---|---|
tec.uom.se |
This package provides a Java SE 8 implementation of the
Units of Measurement API.
|
tec.uom.se.format | |
tec.uom.se.quantity | |
tec.uom.se.quantity.time |
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 | Method and Description |
---|---|
(package private) AbstractQuantity<?> |
DefaultQuantityFormat.parse(java.lang.CharSequence csq,
int index) |
Modifier and Type | Method and Description |
---|---|
java.lang.StringBuilder |
QuantityFormat.format(AbstractQuantity<?> quantity,
java.lang.StringBuilder dest)
Convenience method equivalent to
#format(AbstractQuantity, Appendable) except it does not raise an IOException. |
Modifier and Type | Class and Description |
---|---|
(package private) class |
DecimalQuantity<Q extends javax.measure.Quantity<Q>>
An amount of quantity, implementation of
ComparableQuantity that uses BigDecimal as implementation of Number , this object
is immutable. |
(package private) class |
DoubleQuantity<Q extends javax.measure.Quantity<Q>>
An amount of quantity, implementation of
ComparableQuantity that uses Double as implementation of Number , this object is
immutable. |
class |
NumberQuantity<Q extends javax.measure.Quantity<Q>>
An amount of quantity, implementation of
ComparableQuantity that keep Number as possible otherwise converts to
DecimalQuantity , this object is immutable. |
(package private) class |
ShortQuantity<Q extends javax.measure.Quantity<Q>>
An amount of quantity, consisting of a short and a Unit.
|
Modifier and Type | Method and Description |
---|---|
AbstractQuantity<Q> |
DoubleQuantity.inverse() |
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. |
Modifier and Type | Class and Description |
---|---|
class |
TemporalQuantity
Class that represents
TemporalUnit in Unit-API |
class |
TimeUnitQuantity
Class that represents
TimeUnit in Unit-API |