Want more information ?. Try the Web Home Page for this document.
The following PSPDecAr properties are persistent (serialized):
Num |
The PSPDec object recording the value of the current PSPDecAr element. |
Base |
Integer. Index of lowest element of this PSPDecAr. The value
retrievable by the getBase() method. |
The Num property itself stores several items of data via
serialization. See here for more information.
It is actually the Num property which stores and serializes other PSPDecAr
properties retrievable by the following PSPDecAr methods: getDigitsBeforeDP(), getDigitsAfterDP(),
getDimension(), getOverflow(), getElement(), getMaxElement() and getValue().
Our testing indicates that the default persistence mechanism provided by
the Java Serializable interface is satisfactory. So far we have found no reason to
implement the more sophisticated Externalizable interface for PSPDecAr. It is highly
unlikely that we will do anything (e.g. delete PSPDecAr properties) that will
break the default serialization mechanism in future versions of PSPDecAr.
We welcome any comments/suggestions from users in this area.