Movatterモバイル変換


[0]ホーム

URL:


Scala 3
3.7.4
LearnInstallPlaygroundFind A LibraryCommunityBlog
Scala 3
LearnInstallPlaygroundFind A LibraryCommunityBlog
DocsAPI
Generated with
Copyright (c) 2002-2025, LAMP/EPFL
Copyright (c) 2002-2025, LAMP/EPFL
Scala 3/scala/Char

Char

scala.Char
See theChar companion class
objectChar

Attributes

Companion
class
Source
Char.scala
Graph
Supertypes
classObject
traitMatchable
classAny
Self type
Char.type

Members list

Value members

Concrete methods

Transform a value type into a boxed reference type.

Transform a value type into a boxed reference type.

Runtime implementation determined byscala.runtime.BoxesRunTime.boxToCharacter. Seesrc/library/scala/runtime/BoxesRunTime.java.

Value parameters

x

the Char to be boxed

Attributes

Returns

a java.lang.Character offeringx as its underlying value.

Source
Char.scala
overridedeftoString:String

The String representation of the scala.Char companion object.

The String representation of the scala.Char companion object.

Attributes

Definition Classes
Source
Char.scala

Transform a boxed type into a value type.

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 byscala.runtime.BoxesRunTime.unboxToChar. Seesrc/library/scala/runtime/BoxesRunTime.java.

Value parameters

x

the java.lang.Character to be unboxed.

Attributes

Returns

the Char resulting from calling charValue() onx

Throws

ClassCastException if the argument is not a java.lang.Character

Source
Char.scala

Concrete fields

finalvalMaxValue: '�'

The largest value representable as a Char.

The largest value representable as a Char.

Attributes

Source
Char.scala
finalvalMinValue: '\u0000'

The smallest value representable as a Char.

The smallest value representable as a Char.

Attributes

Source
Char.scala

Implicits

Implicits

implicitdefchar2double(x:Char):Double

Attributes

Source
Char.scala
implicitdefchar2float(x:Char):Float

Attributes

Source
Char.scala
implicitdefchar2int(x:Char):Int

Attributes

Source
Char.scala
implicitdefchar2long(x:Char):Long

Attributes

Source
Char.scala
In this article
Generated with
Copyright (c) 2002-2025, LAMP/EPFL
Copyright (c) 2002-2025, LAMP/EPFL

[8]ページ先頭

©2009-2025 Movatter.jp