Unpack
Views (183)
The unpack() method is the counterpart to the pack() method. It receives a
container as a parameter and restores the type specific variables of the class. The
method returns a Boolean with the value true if the information could be restored.
The unpack() method handles the current version number as a minimum, which
is defined in the ClassDeclaration. You can select to support unpacking of older
versions by extending the switch statement.
The unpack() method has the following content.
Best Regards,
Hossein Karimi
container as a parameter and restores the type specific variables of the class. The
method returns a Boolean with the value true if the information could be restored.
The unpack() method handles the current version number as a minimum, which
is defined in the ClassDeclaration. You can select to support unpacking of older
versions by extending the switch statement.
The unpack() method has the following content.
1 | public boolean unpack(container _packedClass) |
Best Regards,
Hossein Karimi

Like
Report
*This post is locked for comments