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/scala.runtime/Arrays

Arrays

scala.runtime.Arrays
objectArrays

All but the first two operations should be short-circuited and implemented specially by the backend.

Attributes

Source
Arrays.scala
Graph
Supertypes
classObject
traitMatchable
classAny
Self type
Arrays.type

Members list

Value members

Concrete methods

defnewArray[Arr](componentType:Class[_],returnType:Class[Arr],dimensions:Array[Int]):Arr

Create an array of a reference type T.

Create an array of a reference type T.

Attributes

Source
Arrays.scala
defnewGenericArray[T](length:Int)(implicittag:ClassTag[T]):Array[T]

Creates an array of some element type determined by the givenClassTag argument. The erased type of applications of this method isObject.

Creates an array of some element type determined by the givenClassTag argument. The erased type of applications of this method isObject.

Attributes

Source
Arrays.scala
defseqToArray[T](xs:Seq[T],clazz:Class[_]):Array[T]

Convert a sequence to a Java array with element type given byclazz.

Convert a sequence to a Java array with element type given byclazz.

Attributes

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

[8]ページ先頭

©2009-2025 Movatter.jp