Package com.google.common.collect
Class ImmutableSortedMap.SerializedForm<K,V>
java.lang.Object
com.google.common.collect.ImmutableMap.SerializedForm<K,V>
com.google.common.collect.ImmutableSortedMap.SerializedForm<K,V>
- All Implemented Interfaces:
Serializable
- Enclosing class:
ImmutableSortedMap<K,
V>
private static class ImmutableSortedMap.SerializedForm<K,V>
extends ImmutableMap.SerializedForm<K,V>
Serialized type for all ImmutableSortedMap instances. It captures the logical contents and they
are reconstructed using public factory methods. This ensures that the implementation types
remain as implementation details.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) ImmutableSortedMap.Builder
<K, V> makeBuilder
(int size) Returns a builder that builds the unserialized type.Methods inherited from class com.google.common.collect.ImmutableMap.SerializedForm
legacyReadResolve, readResolve
-
Field Details
-
comparator
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
SerializedForm
SerializedForm(ImmutableSortedMap<K, V> sortedMap)
-
-
Method Details
-
makeBuilder
Description copied from class:ImmutableMap.SerializedForm
Returns a builder that builds the unserialized type. Subclasses should override this method.- Overrides:
makeBuilder
in classImmutableMap.SerializedForm<K,
V>
-