This commit is contained in:
Gary Gregory 2024-06-23 16:27:16 -04:00
parent 41f0521bda
commit 04fe0aa3b6
1 changed files with 6 additions and 1 deletions

View File

@ -102,7 +102,12 @@ public class DualLinkedHashBidiMap<K, V> extends AbstractDualBidiMap<K, V> imple
putAll(map);
}
// Serialization
/**
* Serializes this object to an ObjectOutputStream.
*
* @param out the target ObjectOutputStream.
* @throws IOException thrown when an I/O errors occur writing to the target stream.
*/
private void writeObject(final ObjectOutputStream out) throws IOException {
out.defaultWriteObject();
out.writeObject(normalMap);