Package | Description |
---|---|
tech.units.indriya.format | |
tech.units.indriya.function |
This package provides functional interfaces and other functions including unit or quantity conversion.
|
tech.units.indriya.quantity |
Modifier and Type | Method | Description |
---|---|---|
CompoundQuantity<?> |
NumberDelimiterQuantityFormat.parseCompound(CharSequence csq) |
|
protected CompoundQuantity<?> |
NumberDelimiterQuantityFormat.parseCompound(CharSequence csq,
int index) |
|
CompoundQuantity<?> |
NumberDelimiterQuantityFormat.parseCompound(CharSequence csq,
ParsePosition cursor) |
Modifier and Type | Method | Description |
---|---|---|
protected abstract StringBuffer |
AbstractQuantityFormat.formatCompound(CompoundQuantity<?> comp,
StringBuffer dest) |
Convenience method equivalent to
#format(CompoundQuantity, Appendable) except it does not raise an IOException. |
protected StringBuffer |
NumberDelimiterQuantityFormat.formatCompound(CompoundQuantity<?> comp,
StringBuffer dest) |
|
protected StringBuffer |
SimpleQuantityFormat.formatCompound(CompoundQuantity<?> comp,
StringBuffer dest) |
Modifier and Type | Method | Description |
---|---|---|
CompoundQuantity<Q> |
MixedRadix.createCompoundQuantity(Number... values) |
|
CompoundQuantity<Q> |
MixedRadix.createCompoundQuantity(Number[] values,
javax.measure.Quantity.Scale scale) |
Modifier and Type | Method | Description |
---|---|---|
static <Q extends javax.measure.Quantity<Q>> |
Quantities.getCompoundQuantity(Number[] values,
javax.measure.Unit<Q>[] units) |
Returns the mixed radix values and units as
CompoundQuantity in the
ABSOLUTE scale. |
static <Q extends javax.measure.Quantity<Q>> |
Quantities.getCompoundQuantity(Number[] values,
javax.measure.Unit<Q>[] units,
javax.measure.Quantity.Scale scale) |
Returns the mixed radix values and units as
CompoundQuantity in the
specified scale. |
static <Q extends javax.measure.Quantity<Q>> |
CompoundQuantity.of(List<javax.measure.Quantity<Q>> quantities) |
|
static <Q extends javax.measure.Quantity<Q>> |
CompoundQuantity.of(javax.measure.Quantity<Q>... quantities) |
Copyright © 2005–2020 Units of Measurement project. All rights reserved.