AnyRef.G.Companion

object Companion

Companion object contains a set of classes, which provide companion object functionality for customized generic containers.

Source
__.scala
class java.lang.Object
trait scala.Matchable
class Any

Member

class Buffer[A]
trait Containers[BASE_TYPE]

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
class Idx[A]
Source
Idx.scala
class Idx[A]
Source
Idx.scala
class Lookup[A]
class Lookup[A]
class Opt[A]
Source
Opt.scala
class Pack[A]
class Pro[A]
Source
Pro.scala
class Pro[A]
Source
Pro.scala
class Promise[A]
class Range[A]
class Result[A]
class Set[A]
Source
Set.scala
class Stream[A]