||Apples and Oranges (and the Java Units Specification)|
|Subject:||Additional information on JADE|
Response to: Additional information on JADE
The official release of JADE’s new version is scheduled for January 18 2004.
It is a major release (V6.0) with the following improvements regarding quantities:
- Support for exact quantities. Operations on exact quantities typically result in exact quantities (but not always e.g. squareRoot(2)). A new method isExact() indicates if a quantity is exact or an approximation.
- Internal representation of quantities using integer mantissa and decimal exponents to ensure exact mapping between a quantity and its decimal representation)
- New QuantityFormat class with support for the ± symbol (e.g. 1.2 ± 0.001 kg).
- Finally Quantity implements the new (V6.0) interface Recyclable (intermediate/temporary objects can be reused without incurring the cost of memory allocation, object initialization and potential garbage collection).