-
readObject
private void readObject(ObjectInputStream s)
throws IOException,
ClassNotFoundException
Deprecated.
Reconstitute the SafelyHashMap instance from a stream (i.e.,
deserialize it).
- Throws:
IOException
ClassNotFoundException
-
writeObject
private void writeObject(ObjectOutputStream s)
throws IOException
Deprecated.
Save the state of the SafelyHashMap instance to a stream (i.e.,
serialize it).
- Serial Data:
- The capacity of the SafelyHashMap (the length of the
bucket array) is emitted (int), followed by the size
(an int, the number of key-value mappings), followed by the
key (Object) and value (Object) for each key-value mapping.
The key-value mappings are emitted in no particular order.
- Throws:
IOException