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

View File

@ -414,7 +414,12 @@ public class DualTreeBidiMap<K, V> extends AbstractDualBidiMap<K, V>
return ((SortedMap<V, K>) reverseMap).comparator(); return ((SortedMap<V, K>) reverseMap).comparator();
} }
// 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 { private void writeObject(final ObjectOutputStream out) throws IOException {
out.defaultWriteObject(); out.defaultWriteObject();
out.writeObject(normalMap); out.writeObject(normalMap);