[scala] serializability of collections

View: New views
1 Messages — Rating Filter:   Alert me  

[scala] serializability of collections

by Kevin Wright-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

This one came up at the last lsug meet:

Java collections, such as List, don't implement Serializable - this is left to the concrete subtypes such as ArrayList
How has this been handled in Scala 2.8?

For example, the (implicit) method JavaConversions.asCollection returns an object implementing the java-native collection interface.
Does the concrete type returned from this method also implement serializable?
The same goes for other Java conversions, such as asSet, asMap, asBuffer, etc...