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/Byte

Byte

scala.Byte
See theByte companion class
objectByte

Attributes

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

Members list

Value members

Concrete methods

defbox(x:Byte):Byte

Transform a value type into a boxed reference type.

Transform a value type into a boxed reference type.

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

Value parameters

x

the Byte to be boxed

Attributes

Returns

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

Source
Byte.scala
overridedeftoString:String

The String representation of the scala.Byte companion object.

The String representation of the scala.Byte companion object.

Attributes

Definition Classes
Source
Byte.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.Byte.

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

Value parameters

x

the java.lang.Byte to be unboxed.

Attributes

Returns

the Byte resulting from calling byteValue() onx

Throws

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

Source
Byte.scala

Concrete fields

finalvalMaxValue: 127

The largest value representable as a Byte.

The largest value representable as a Byte.

Attributes

Source
Byte.scala
finalvalMinValue: -128

The smallest value representable as a Byte.

The smallest value representable as a Byte.

Attributes

Source
Byte.scala

Implicits

Implicits

implicitdefbyte2double(x:Byte):Double

Attributes

Source
Byte.scala
implicitdefbyte2float(x:Byte):Float

Attributes

Source
Byte.scala
implicitdefbyte2int(x:Byte):Int

Attributes

Source
Byte.scala
implicitdefbyte2long(x:Byte):Long

Attributes

Source
Byte.scala
implicitdefbyte2short(x:Byte):Short

Attributes

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

[8]ページ先頭

©2009-2025 Movatter.jp