| Package | Description |
|---|---|
| tech.uom.impl.enums | |
| tech.uom.impl.enums.quantity |
| Modifier and Type | Method and Description |
|---|---|
<T extends javax.measure.Quantity<T>> |
AbstractQuantity.asType(Class<T> type)
Casts this quantity to a parameterized quantity of specified nature or throw a
ClassCastException if the dimension of the specified
quantity and its unit's dimension do not match. |
| Modifier and Type | Method and Description |
|---|---|
protected abstract boolean |
AbstractQuantity.eq(AbstractQuantity<Q> dq) |
| Modifier and Type | Class and Description |
|---|---|
class |
DimensionlessQuantity |
class |
TemperatureQuantity |
class |
TimeQuantity |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
DimensionlessQuantity.eq(AbstractQuantity<javax.measure.quantity.Dimensionless> dq) |
protected boolean |
TemperatureQuantity.eq(AbstractQuantity<javax.measure.quantity.Temperature> dq) |
boolean |
TimeQuantity.eq(AbstractQuantity<javax.measure.quantity.Time> dq) |
Copyright © 2005–2024 Units of Measurement project. All rights reserved.