Long
Companion Object for scala.Long
This object also defines specialized custom containers for Long type, so the following code can run without boxing:
val s: Long.Stream = 1L <> 5L
val o: Long.Opt = s.readRawOpt // Holds Long.Opt(1)
val l: Long.Pack = s.pack // Holds (2,3,4,5)
- Source
- __.scala
Member
Long Extension Methods
Extension methods universaly avaialble for type scala.Long
- Source
- _methods.scala
Long Generic Specialized Containers
The generic containers are never used directly, but rather as customized shortcuts for specific types.
For example:
Long.G.Pack[Long]
usually called asLong.Pack
Double.G.Idx[Percent]
usually called asPercent.Idx
Int.G.Pro.Mutable[Day]
usually called asDay.Pro.Mutable
Long.G.Collection[Time]
usually called asTime.Collection
- Source
- __.scala
Def
Containers
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
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
Specialized lookup collection
Specialized lookup collection
Already parameterized generic lookup collection
- Inherited from
- Containers
- Source
- Containers.scala
Type companion
Type companion
Holds methods to construct type instances
- Inherited from
- Containers
- Source
- Containers.scala
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
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
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
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
Specialized range
Specialized range
Already parameterized generic range
- Inherited from
- Containers
- Source
- Containers.scala
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
Companion alias
Companion alias
Holds methods to construct type instances
- Inherited from
- Containers
- Source
- Containers.scala
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