AnyRef.G.Companion.Containers
Type Assigned Containers Setup
This trait customizes generic containers with given AnyRef type.
Customized.Containers are already mixed with Opaque.Data, so the application code usually uses them indirectly when defining data elements.
There is no performance difference when using customized vs. generic containers, just better readability. For example:
val s: Stream[String]=VOID
// is equivalent to
val s: String.stream =VOID
val o: Opt[String]=VOID
// is equivalent to
val o: String.Opt =VOID
- Source
- Containers.scala