DefaultSerializable (original) (raw)
scala.collection.generic.DefaultSerializable
Mix-in trait to enable DefaultSerializationProxy for the standard collection types. Depending on the type it is mixed into, it will dynamically choose iterableFactory
, mapFactory
, sortedIterableFactory
or sortedMapFactory
for deserialization into the respective CC
type. Override writeReplace
or implement it directly without using this trait if you need a non-standard factory or if you want to use a different serialization scheme.
Attributes
Source
DefaultSerializationProxy.scala
Graph
Supertypes
Known subtypes
Self type
In this article