Boolean

object Boolean extends Boolean.G.Companion.Containers[scala.Boolean]

Companion Object for scala.Boolean

This object also defines specialized custom containers for Boolean type, so the following code can run without boxing:


   val s: Boolean.Stream = Boolean.Stream(true,true,false,false)

   val o: Boolean.Opt    = s.readRawOpt // Holds Boolean.Opt(true)

   val l: Boolean.Pack   = s.pack      // Holds (true,false,false)
Source
__.scala
class java.lang.Object
trait scala.Matchable
class Any

Member

trait _methods

Boolean Extension Methods

Extension methods universaly avaialble for type scala.Boolean

Source
_methods.scala
object G

Boolean Generic Specialized Containers

The generic containers are never used directly, but rather as customized shortcuts for specific types.

For example:

  • Boolean.G.Pack[Boolean] usually called as Boolean.Pack
  • Double.G.Idx[Percent] usually called as Percent.Idx
  • Int.G.Pro.Mutable[Day] usually called as Day.Pro.Mutable
  • Long.G.Collection[Time] usually called as Time.Collection
Source
__.scala
opaque type Opaque

Boolean.Opaque is the supertype for all opaques based on Boolean

See sample type definition.

Source
__.scala

Containers

type Buffer = Boolean.G.Buffer[Boolean]

Specialized buffer

Specialized buffer

Already parameterized generic buffer

Inherited from
Containers
Source
Containers.scala

Specialized collection

Specialized collection

Already parameterized generic collection

Inherited from
Containers
Source
Containers.scala

Type companion

Type companion

Holds methods to construct type instances

Inherited from
Containers
Source
Containers.scala

Specialized functions

Specialized functions

Already parameterized set of generic functions

Inherited from
Containers
Source
Containers.scala
type Idx = Boolean.G.Idx[Boolean]

Specialized indexed collection

Specialized indexed collection

Already parameterized generic indexed collection

Inherited from
Containers
Source
Containers.scala

Type companion

Type companion

Holds methods to construct type instances

Inherited from
Containers
Source
Containers.scala
type Opt = Boolean.G.Opt[Boolean]

Specialized option

Specialized option

Already parameterized generic option

Inherited from
Containers
Source
Containers.scala

Type companion

Type companion

Holds methods to construct type instances

Inherited from
Containers
Source
Containers.scala
type Pack = Boolean.G.Pack[Boolean]

Specialized pack

Specialized pack

Already parameterized generic immutable collection

Inherited from
Containers
Source
Containers.scala

Type companion

Type companion

Holds methods to construct type instances

Inherited from
Containers
Source
Containers.scala
type Pro = Boolean.G.Pro[Boolean]

Specialized property

Specialized property

Already parameterized generic property

Inherited from
Containers
Source
Containers.scala

Type companion

Type companion

Holds methods to construct type instances

Inherited from
Containers
Source
Containers.scala
type Promise = Val.Promise[Boolean]

Parameterized Val.Promise

Parameterized Val.Promise

Already parameterized generic Val.Promise

Inherited from
Containers
Source
Containers.scala

Type companion

Type companion

Holds methods to construct type instances

Inherited from
Containers
Source
Containers.scala
type Result = Val.Result[Boolean]

Parameterized Val.Result

Parameterized Val.Result

Already parameterized generic Val.Result

Inherited from
Containers
Source
Containers.scala

Type companion

Type companion

Holds methods to construct type instances

Inherited from
Containers
Source
Containers.scala
type Stream = Boolean.G.Stream[Boolean]

Specialized stream

Specialized stream

Already parameterized generic stream

Inherited from
Containers
Source
Containers.scala

Type companion

Type companion

Holds methods to construct type instances

Inherited from
Containers
Source
Containers.scala