Serialized Form
_offset
double _offset
- Holds the offset.
_baseUnits
Unit _baseUnits
- Holds the base units for this alternate unit (base unit or product of
base units).
_dimension
Unit _dimension
- Holds the dimension of this base unit (default: this).
_toDimension
Converter _toDimension
- Holds the converter to this unit's dimension (default: IDENTITY).
_factor
double _factor
- Holds the scale factor.
_elements
ProductUnit.Element[] _elements
- Holds the units composing this product unit.
_unit
Unit _unit
- Holds the single unit.
_pow
int _pow
- Holds the power exponent.
_root
int _root
- Holds the root exponent.
_systemUnit
Unit _systemUnit
- Holds the system unit.
_toSystem
Converter _toSystem
- Holds the converter to the system unit.
readResolve
protected Object readResolve()
- Overrides
readResolve()
to ensure that deserialization
maintains unit's unicity.
_symbol
String _symbol
- Holds the unit's symbol or
null
if none
(e.g. ProductUnit
, TransformedUnit
).