Char
Companion for scala.Char
This object also defines specialized custom containers for Char type, so the following code can run without boxing:
val s: Char.~ = 'a' <> 'd'
val o: Char.Opt = s.readRaw_? // Holds Char.Opt('a')
val l: Char.Pack = s.>< // Holds ('b','c','d')
- Source
- __.scala
Member
trait _extension
Char Extension Methods
Extension methods universaly avaialble for type scala.Char
- Source
- _extension.scala
object G
Raw Char Generic Specialized Containers
The generic containers are never used directly, but rather as customized shortcuts for specific types.
For example:
Char.G.><[Char]
usually called asChar.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