private static class ImmutableBiMap.SerializedForm<K,V> extends ImmutableMap.SerializedForm<K,V>
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.
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
Constructor and Description |
---|
SerializedForm(ImmutableBiMap<K,V> bimap) |
Modifier and Type | Method and Description |
---|---|
(package private) ImmutableBiMap.Builder<K,V> |
makeBuilder(int size)
Returns a builder that builds the unserialized type.
|
legacyReadResolve, readResolve
private static final long serialVersionUID
SerializedForm(ImmutableBiMap<K,V> bimap)
ImmutableBiMap.Builder<K,V> makeBuilder(int size)
ImmutableMap.SerializedForm
makeBuilder
in class ImmutableMap.SerializedForm<K,V>