Class ImmutableBiMap.SerializedForm<K,V>

java.lang.Object
com.google.common.collect.ImmutableMap.SerializedForm<K,V>
com.google.common.collect.ImmutableBiMap.SerializedForm<K,V>
All Implemented Interfaces:
Serializable
Enclosing class:
ImmutableBiMap<K,V>

private static class ImmutableBiMap.SerializedForm<K,V> extends ImmutableMap.SerializedForm<K,V>
Serialized type for all ImmutableBiMap instances. It captures the logical contents and they are reconstructed using public factory methods. This ensures that the implementation types remain as implementation details.

Since the bimap is immutable, ImmutableBiMap doesn't require special logic for keeping the bimap and its inverse in sync during serialization, the way AbstractBiMap does.