Package com.google.common.collect
Class ImmutableSortedMap.SerializedForm
- java.lang.Object
-
- com.google.common.collect.ImmutableMap.SerializedForm
-
- com.google.common.collect.ImmutableSortedMap.SerializedForm
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- ImmutableSortedMap<K,V>
private static class ImmutableSortedMap.SerializedForm extends ImmutableMap.SerializedForm
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 Modifier and Type Field Description private java.util.Comparator<java.lang.Object>
comparator
private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description SerializedForm(ImmutableSortedMap<?,?> sortedMap)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) java.lang.Object
readResolve()
-
Methods inherited from class com.google.common.collect.ImmutableMap.SerializedForm
createMap
-
-
-
-
Field Detail
-
comparator
private final java.util.Comparator<java.lang.Object> comparator
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SerializedForm
SerializedForm(ImmutableSortedMap<?,?> sortedMap)
-
-
Method Detail
-
readResolve
java.lang.Object readResolve()
- Overrides:
readResolve
in classImmutableMap.SerializedForm
-
-