| Supertypes | |
|---|---|
| Self type |
Transform a value type into a boxed reference type.
Runtime implementation determined by scala.runtime.BoxesRunTime.boxToCharacter. See src/library/scala/runtime/BoxesRunTime.java.
| Value parameters |
|
|---|---|
| Returns | a java.lang.Character offering |
The String representation of the scala.Char companion object.
| Definition Classes | Any |
|---|
Transform a boxed type into a value type. Note that this method is not typesafe: it accepts any Object, but will throw an exception if the argument is not a java.lang.Character.
Runtime implementation determined by scala.runtime.BoxesRunTime.unboxToChar. See src/library/scala/runtime/BoxesRunTime.java.
| Value parameters |
|
|---|---|
| Returns | the Char resulting from calling charValue() on |
| Throws |
|
The largest value representable as a Char.
The smallest value representable as a Char.
© 2002-2022 EPFL, with contributions from Lightbend.
Licensed under the Apache License, Version 2.0.
https://scala-lang.org/api/3.2.0/scala/Char$.html