Boolean

object Boolean extends Boolean.Custom.Containers[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.~    = Boolean.~(true,true,false,false)

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

   val l: Boolean.><   = s.><       // 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 Custom
Source
__.scala
object G

Boolean Specialized Generic Containers

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

For example:

  • Boolean.G.><[Boolean] usually called as Boolean.><
  • 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

Alias

@scala.annotation.targetName("Stream")
type ~ = Boolean.G.~[A]

Specialized stream

Specialized stream

Already parameterized generic stream

Inherited from
Containers
Source
__.scala
@scala.annotation.targetName("Stream")

Type companion

Type companion

Holds methods to construct type instances

Inherited from
Containers
Source
__.scala
@scala.annotation.targetName("Pack")
type >< = Boolean.G.><[A]

Specialized pack

Specialized pack

Already parameterized generic immutable collection

Inherited from
Containers
Source
__.scala
@scala.annotation.targetName("Pack")

Type companion

Type companion

Holds methods to construct type instances

Inherited from
Containers
Source
__.scala

Specialized buffer

Specialized buffer

Already parameterized generic buffer

Inherited from
Containers
Source
__.scala

Specialized collection

Specialized collection

Already parameterized generic collection

Inherited from
Containers
Source
__.scala

Type companion

Type companion

Holds methods to construct type instances

Inherited from
Containers
Source
__.scala

Specialized functions

Specialized functions

Already parameterized set of generic functions

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

Specialized indexed collection

Specialized indexed collection

Already parameterized generic indexed collection

Inherited from
Containers
Source
__.scala

Type companion

Type companion

Holds methods to construct type instances

Inherited from
Containers
Source
__.scala
type Lookup[B] = Lookup[A, B]

Specialized lookup collection

Specialized lookup collection

Already parameterized generic lookup collection

Inherited from
Containers
Source
__.scala

Type companion

Type companion

Holds methods to construct type instances

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

Specialized option

Specialized option

Already parameterized generic option

Inherited from
Containers
Source
__.scala

Type companion

Type companion

Holds methods to construct type instances

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

Specialized property

Specialized property

Already parameterized generic property

Inherited from
Containers
Source
__.scala

Type companion

Type companion

Holds methods to construct type instances

Inherited from
Containers
Source
__.scala
type Promise = Promise[A]

Parameterized Val.Promise

Parameterized Val.Promise

Already parameterized generic Val.Promise

Inherited from
Containers
Source
__.scala

Type companion

Type companion

Holds methods to construct type instances

Inherited from
Containers
Source
__.scala
type Result = Result[A]

Parameterized Val.Result

Parameterized Val.Result

Already parameterized generic Val.Result

Inherited from
Containers
Source
__.scala

Type companion

Type companion

Holds methods to construct type instances

Inherited from
Containers
Source
__.scala

Type alias

Type alias

Shortcut to Collection.StableSet

Inherited from
Containers
Source
__.scala

Companion alias

Companion alias

Holds methods to construct type instances

Inherited from
Containers
Source
__.scala

Def

inline def emptyArray: Array[Boolean]

Empty array

Empty array

Returns singleton scala.Array.emptyBooleanArray

Inherited from
Containers
Source
__.scala