| Modifier and Type | Field and Description |
|---|---|
| private ComplexUnitsConverter | |
| private MeasureUnit | |
| private final MicroPropsGenerator |
| Access | Constructor and Description |
|---|---|
| public | UnitConversionHandler(MeasureUnit
Specifies the output MeasureUnit. The input MeasureUnit
is derived from it: in case of a mixed unit, the biggest unit is
taken as the input unit. If not a mixed unit, the input unit will be
the same as the output unit and no unit conversion takes place. targetUnit, MicroPropsGenerator The parent MicroPropsGenerator. parent)
|
| Modifier and Type | Method and Description |
|---|---|
| public MicroProps | processQuantity(DecimalQuantity
The quantity for consideration and optional mutation. quantity)Implements com.
Deprecated
as a consequence of
Obtains the appropriate output values from the Unit Converter.
DecimalQuantity being deprecated.
|
| fComplexUnitConverter | back to summary |
|---|---|
| private ComplexUnitsConverter fComplexUnitConverter | |
| fOutputUnit | back to summary |
|---|---|
| private MeasureUnit fOutputUnit | |
| fParent | back to summary |
|---|---|
| private final MicroPropsGenerator fParent | |
| UnitConversionHandler | back to summary |
|---|---|
public UnitConversionHandler(MeasureUnit targetUnit, MicroPropsGenerator parent)
| |
| processQuantity | back to summary |
|---|---|
| public MicroProps processQuantity(DecimalQuantity quantity) Implements com. Deprecated as a consequence of Obtains the appropriate output values from the Unit Converter.
| |