DefaultSerializable
scala.collection.generic.DefaultSerializable
trait DefaultSerializable extends Serializable
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
-
class HashSet[A]class List[A]class ::[A]object Nilclass ListSet[A]class Queue[A]class TreeSet[A]class Vector[A]class ArrayBuffer[A]class ArrayDeque[A]class Queue[A]class Stack[A]class LinkedHashSet[A]class ListBuffer[A]class TreeSet[A]class UnrolledBuffer[T]
- Self type
-
Iterable[_]
In this article