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

IArray

scala.IArray$package.IArray
objectIArray

An immutable array. AnIArray[T] has the same representation as anArray[T], but it cannot be updated. Unlike regular arrays, immutable arrays are covariant.

Attributes

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

Members list

Type members

Classlikes

classWithFilter[T](p:T=>Boolean,xs:IArray[T])

A lazy filtered array. No filtering is applied until one offoreach,map orflatMap is called.

A lazy filtered array. No filtering is applied until one offoreach,map orflatMap is called.

Attributes

Source
IArray.scala
Supertypes
classObject
traitMatchable
classAny

Value members

Concrete methods

defapply[T](xs:T*)(usingct:ClassTag[T]):IArray[T]

An immutable array with given elements.

An immutable array with given elements.

Attributes

Source
IArray.scala

An immutable array with given elements.

An immutable array with given elements.

Attributes

Source
IArray.scala

An immutable array with given elements.

An immutable array with given elements.

Attributes

Source
IArray.scala

An immutable array with given elements.

An immutable array with given elements.

Attributes

Source
IArray.scala

An immutable array with given elements.

An immutable array with given elements.

Attributes

Source
IArray.scala
defapply(x:Int,xs:Int*):IArray[Int]

An immutable array with given elements.

An immutable array with given elements.

Attributes

Source
IArray.scala

An immutable array with given elements.

An immutable array with given elements.

Attributes

Source
IArray.scala

An immutable array with given elements.

An immutable array with given elements.

Attributes

Source
IArray.scala

An immutable array with given elements.

An immutable array with given elements.

Attributes

Source
IArray.scala

An immutable array with given elements.

An immutable array with given elements.

Attributes

Source
IArray.scala
defconcat[T :ClassTag](xss:IArray[T]*):IArray[T]

Concatenates all arrays into a single immutable array.

Concatenates all arrays into a single immutable array.

Value parameters

xss

the given immutable arrays

Attributes

Returns

the array created from concatenatingxss

Source
IArray.scala

An immutable array of length 0.

An immutable array of length 0.

Attributes

Source
IArray.scala

An immutable boolean array of length 0.

An immutable boolean array of length 0.

Attributes

Source
IArray.scala

An immutable byte array of length 0.

An immutable byte array of length 0.

Attributes

Source
IArray.scala

An immutable char array of length 0.

An immutable char array of length 0.

Attributes

Source
IArray.scala

An immutable double array of length 0.

An immutable double array of length 0.

Attributes

Source
IArray.scala

An immutable float array of length 0.

An immutable float array of length 0.

Attributes

Source
IArray.scala

An immutable int array of length 0.

An immutable int array of length 0.

Attributes

Source
IArray.scala

An immutable long array of length 0.

An immutable long array of length 0.

Attributes

Source
IArray.scala

An immutable object array of length 0.

An immutable object array of length 0.

Attributes

Source
IArray.scala

An immutable short array of length 0.

An immutable short array of length 0.

Attributes

Source
IArray.scala

Compare two arrays per element.

Compare two arrays per element.

A more efficient version ofxs.sameElements(ys).

Value parameters

xs

an array of AnyRef

ys

an array of AnyRef

Attributes

Returns

true if corresponding elements are equal

Source
IArray.scala
deffill[T :ClassTag](n:Int)(elem:=>T):IArray[T]

Returns an immutable array that contains the results of some element computation a number of times. Each element is determined by a separate computation.

Returns an immutable array that contains the results of some element computation a number of times. Each element is determined by a separate computation.

Value parameters

elem

the element computation

n

the number of elements in the array

Attributes

Source
IArray.scala
deffill[T :ClassTag](n1:Int,n2:Int)(elem:=>T):IArray[IArray[T]]

Returns a two-dimensional immutable array that contains the results of some element computation a number of times. Each element is determined by a separate computation.

Returns a two-dimensional immutable array that contains the results of some element computation a number of times. Each element is determined by a separate computation.

Value parameters

elem

the element computation

n1

the number of elements in the 1st dimension

n2

the number of elements in the 2nd dimension

Attributes

Source
IArray.scala
deffill[T :ClassTag](n1:Int,n2:Int,n3:Int)(elem:=>T):IArray[IArray[IArray[T]]]

Returns a three-dimensional immutable array that contains the results of some element computation a number of times. Each element is determined by a separate computation.

Returns a three-dimensional immutable array that contains the results of some element computation a number of times. Each element is determined by a separate computation.

Value parameters

elem

the element computation

n1

the number of elements in the 1st dimension

n2

the number of elements in the 2nd dimension

n3

the number of elements in the 3nd dimension

Attributes

Source
IArray.scala
deffill[T :ClassTag](n1:Int,n2:Int,n3:Int,n4:Int)(elem:=>T):IArray[IArray[IArray[IArray[T]]]]

Returns a four-dimensional immutable array that contains the results of some element computation a number of times. Each element is determined by a separate computation.

Returns a four-dimensional immutable array that contains the results of some element computation a number of times. Each element is determined by a separate computation.

Value parameters

elem

the element computation

n1

the number of elements in the 1st dimension

n2

the number of elements in the 2nd dimension

n3

the number of elements in the 3nd dimension

n4

the number of elements in the 4th dimension

Attributes

Source
IArray.scala
deffill[T :ClassTag](n1:Int,n2:Int,n3:Int,n4:Int,n5:Int)(elem:=>T):IArray[IArray[IArray[IArray[IArray[T]]]]]

Returns a five-dimensional immutable array that contains the results of some element computation a number of times. Each element is determined by a separate computation.

Returns a five-dimensional immutable array that contains the results of some element computation a number of times. Each element is determined by a separate computation.

Value parameters

elem

the element computation

n1

the number of elements in the 1st dimension

n2

the number of elements in the 2nd dimension

n3

the number of elements in the 3nd dimension

n4

the number of elements in the 4th dimension

n5

the number of elements in the 5th dimension

Attributes

Source
IArray.scala
deffrom[A :ClassTag](it:IterableOnce[A]):IArray[A]

Build an array from the iterable collection.

Build an array from the iterable collection.

scala> val a = IArray.from(Seq(1, 5))val a: IArray[Int] = IArray(1, 5)scala> val b = IArray.from(Range(1, 5))val b: IArray[Int] = IArray(1, 2, 3, 4)

Value parameters

it

the iterable collection

Attributes

Returns

an array consisting of elements of the iterable collection

Source
IArray.scala
defiterate[T :ClassTag](start:T,len:Int)(f:T=>T):IArray[T]

Returns an immutable array containing repeated applications of a function to a start value.

Returns an immutable array containing repeated applications of a function to a start value.

Value parameters

f

the function that is repeatedly applied

len

the number of elements returned by the array

start

the start value of the array

Attributes

Returns

the immutable array returninglen values in the sequencestart, f(start), f(f(start)), ...

Source
IArray.scala
defnewBuilder[T](usingt:ClassTag[T]):Builder[T,IArray[T]]

Attributes

Source
IArray.scala
defrange(start:Int,end:Int):IArray[Int]

Returns an immutable array containing a sequence of increasing integers in a range.

Returns an immutable array containing a sequence of increasing integers in a range.

Value parameters

end

the end value of the array, exclusive (in other words, this is the first value '''not''' returned)

start

the start value of the array

Attributes

Returns

the immutable array with values in rangestart, start + 1, ..., end - 1 up to, but excluding,end.

Source
IArray.scala
defrange(start:Int,end:Int,step:Int):IArray[Int]

Returns an immutable array containing equally spaced values in some integer interval.

Returns an immutable array containing equally spaced values in some integer interval.

Value parameters

end

the end value of the array, exclusive (in other words, this is the first value '''not''' returned)

start

the start value of the array

step

the increment value of the array (may not be zero)

Attributes

Returns

the immutable array with values instart, start + step, ... up to, but excludingend

Source
IArray.scala
deftabulate[T :ClassTag](n:Int)(f:Int=>T):IArray[T]

Returns an immutable array containing values of a given function over a range of integer values starting from 0.

Returns an immutable array containing values of a given function over a range of integer values starting from 0.

Value parameters

f

The function computing element values

n

The number of elements in the array

Attributes

Source
IArray.scala
deftabulate[T :ClassTag](n1:Int,n2:Int)(f: (Int,Int)=>T):IArray[IArray[T]]

Returns a two-dimensional immutable array containing values of a given function over ranges of integer values starting from0.

Returns a two-dimensional immutable array containing values of a given function over ranges of integer values starting from0.

Value parameters

f

The function computing element values

n1

the number of elements in the 1st dimension

n2

the number of elements in the 2nd dimension

Attributes

Source
IArray.scala
deftabulate[T :ClassTag](n1:Int,n2:Int,n3:Int)(f: (Int,Int,Int)=>T):IArray[IArray[IArray[T]]]

Returns a three-dimensional immutable array containing values of a given function over ranges of integer values starting from0.

Returns a three-dimensional immutable array containing values of a given function over ranges of integer values starting from0.

Value parameters

f

The function computing element values

n1

the number of elements in the 1st dimension

n2

the number of elements in the 2nd dimension

n3

the number of elements in the 3rd dimension

Attributes

Source
IArray.scala
deftabulate[T :ClassTag](n1:Int,n2:Int,n3:Int,n4:Int)(f: (Int,Int,Int,Int)=>T):IArray[IArray[IArray[IArray[T]]]]

Returns a four-dimensional immutable array containing values of a given function over ranges of integer values starting from0.

Returns a four-dimensional immutable array containing values of a given function over ranges of integer values starting from0.

Value parameters

f

The function computing element values

n1

the number of elements in the 1st dimension

n2

the number of elements in the 2nd dimension

n3

the number of elements in the 3rd dimension

n4

the number of elements in the 4th dimension

Attributes

Source
IArray.scala
deftabulate[T :ClassTag](n1:Int,n2:Int,n3:Int,n4:Int,n5:Int)(f: (Int,Int,Int,Int,Int)=>T):IArray[IArray[IArray[IArray[IArray[T]]]]]

Returns a five-dimensional immutable array containing values of a given function over ranges of integer values starting from0.

Returns a five-dimensional immutable array containing values of a given function over ranges of integer values starting from0.

Value parameters

f

The function computing element values

n1

the number of elements in the 1st dimension

n2

the number of elements in the 2nd dimension

n3

the number of elements in the 3rd dimension

n4

the number of elements in the 4th dimension

n5

the number of elements in the 5th dimension

Attributes

Source
IArray.scala

Returns a decomposition of the array into a sequence. This supports a pattern match like{ case IArray(x,y,z) => println('3 elements')}.

Returns a decomposition of the array into a sequence. This supports a pattern match like{ case IArray(x,y,z) => println('3 elements')}.

Value parameters

x

the selector value

Attributes

Returns

sequence wrapped in ascala.Some, ifx is a Seq, otherwiseNone

Source
IArray.scala

Convert an array into an immutable array without copying, the original array mustnot be mutated after this or the guaranteed immutablity of IArray will be violated.

Convert an array into an immutable array without copying, the original array mustnot be mutated after this or the guaranteed immutablity of IArray will be violated.

Attributes

Source
IArray.scala

Extensions

Extensions

extension(arr:IArray[Byte])
defapply(n:Int):Byte

The selection operation on an immutable array.

The selection operation on an immutable array.

Value parameters

arr

the immutable array

n

the index of the element to select

Attributes

Returns

the element of the array at the given index

Source
IArray.scala
extension(arr:IArray[Short])

Attributes

Source
IArray.scala
extension(arr:IArray[Char])
defapply(n:Int):Char

Attributes

Source
IArray.scala
extension(arr:IArray[Int])
defapply(n:Int):Int

Attributes

Source
IArray.scala
extension(arr:IArray[Long])
defapply(n:Int):Long

Attributes

Source
IArray.scala
extension(arr:IArray[Float])

Attributes

Source
IArray.scala
extension(arr:IArray[Double])

Attributes

Source
IArray.scala
extension[T <:Object](arr:IArray[T])
defapply(n:Int):T

Attributes

Source
IArray.scala
extension[T](arr:IArray[T])
defapply(n:Int):T

Attributes

Source
IArray.scala
extension(arr:IArray[Byte])

The number of elements in an immutable array

The number of elements in an immutable array

Value parameters

arr

the immutable array

Attributes

Source
IArray.scala
extension(arr:IArray[Short])

Attributes

Source
IArray.scala
extension(arr:IArray[Char])

Attributes

Source
IArray.scala
extension(arr:IArray[Int])

Attributes

Source
IArray.scala
extension(arr:IArray[Long])

Attributes

Source
IArray.scala
extension(arr:IArray[Float])

Attributes

Source
IArray.scala
extension(arr:IArray[Double])

Attributes

Source
IArray.scala
extension(arr:IArray[Object])

Attributes

Source
IArray.scala
extension[T](arr:IArray[T])

Attributes

Source
IArray.scala
extension[T](arr:IArray[T])
defcontains(elem:T):Boolean

Tests whether this array contains a given value as an element.

Tests whether this array contains a given value as an element.

Attributes

Source
IArray.scala
extension[T](arr:IArray[T])
defcopyToArray[U >:T](xs:Array[U]):Int

Copy elements of this array to another array.

Copy elements of this array to another array.

Attributes

Source
IArray.scala
extension[T](arr:IArray[T])
defcopyToArray[U >:T](xs:Array[U],start:Int):Int

Copy elements of this array to another array.

Copy elements of this array to another array.

Attributes

Source
IArray.scala
extension[T](arr:IArray[T])
defcopyToArray[U >:T](xs:Array[U],start:Int,len:Int):Int

Copy elements of this array to another array.

Copy elements of this array to another array.

Attributes

Source
IArray.scala
extension[T](arr:IArray[T])
defcount(p:T=>Boolean):Int

Counts the number of elements in this array which satisfy a predicate

Counts the number of elements in this array which satisfy a predicate

Attributes

Source
IArray.scala
extension[T](arr:IArray[T])
defdrop(n:Int):IArray[T]

The rest of the array without itsn first elements.

The rest of the array without itsn first elements.

Attributes

Source
IArray.scala
extension[T](arr:IArray[T])

The rest of the array without itsn last elements.

The rest of the array without itsn last elements.

Attributes

Source
IArray.scala
extension[T](arr:IArray[T])

Drops longest prefix of elements that satisfy a predicate.

Drops longest prefix of elements that satisfy a predicate.

Attributes

Source
IArray.scala
extension[T](arr:IArray[T])

Tests whether a predicate holds for at least one element of this array.

Tests whether a predicate holds for at least one element of this array.

Attributes

Source
IArray.scala
extension[T](arr:IArray[T])
deffilter(p:T=>Boolean):IArray[T]

Selects all elements of this array which satisfy a predicate.

Selects all elements of this array which satisfy a predicate.

Attributes

Source
IArray.scala
extension[T](arr:IArray[T])

Selects all elements of this array which do not satisfy a predicate.

Selects all elements of this array which do not satisfy a predicate.

Attributes

Source
IArray.scala
extension[T](arr:IArray[T])
deffind(p:T=>Boolean):Option[T]

Finds the first element of the array satisfying a predicate, if any.

Finds the first element of the array satisfying a predicate, if any.

Attributes

Source
IArray.scala
extension[T](arr:IArray[T])
defflatMap[U :ClassTag](f:T=>IterableOnce[U]):IArray[U]

Builds a new array by applying a function to all elements of this array and using the elements of the resulting collections.

Builds a new array by applying a function to all elements of this array and using the elements of the resulting collections.

Attributes

Source
IArray.scala
extension[T](arr:IArray[T])
defflatten[U](usingasIterable:T=>Iterable[U],ct:ClassTag[U]):IArray[U]

Flattens a two-dimensional array by concatenating all its rows into a single array.

Flattens a two-dimensional array by concatenating all its rows into a single array.

Attributes

Source
IArray.scala
extension[T](arr:IArray[T])
deffold[U >:T](z:U)(op: (U,U)=>U):U

Folds the elements of this array using the specified associative binary operator.

Folds the elements of this array using the specified associative binary operator.

Attributes

Source
IArray.scala
extension[T](arr:IArray[T])
deffoldLeft[U](z:U)(op: (U,T)=>U):U

Applies a binary operator to a start value and all elements of this array, going left to right.

Applies a binary operator to a start value and all elements of this array, going left to right.

Attributes

Source
IArray.scala
extension[T](arr:IArray[T])
deffoldRight[U](z:U)(op: (T,U)=>U):U

Applies a binary operator to all elements of this array and a start value, going right to left.

Applies a binary operator to all elements of this array and a start value, going right to left.

Attributes

Source
IArray.scala
extension[T](arr:IArray[T])

Tests whether a predicate holds for all elements of this array.

Tests whether a predicate holds for all elements of this array.

Attributes

Source
IArray.scala
extension[T](arr:IArray[T])
defforeach[U](f:T=>U):Unit

Applyf to each element for its side effects.

Applyf to each element for its side effects.

Attributes

Source
IArray.scala
extension[T](arr:IArray[T])
defhead:T

Selects the first element of this array.

Selects the first element of this array.

Attributes

Source
IArray.scala
extension[T](arr:IArray[T])

Optionally selects the first element.

Optionally selects the first element.

Attributes

Source
IArray.scala
extension[T](arr:IArray[T])
defindexOf(elem:T,from:Int = ...):Int

Finds index of first occurrence of some value in this array after or at some start index.

Finds index of first occurrence of some value in this array after or at some start index.

Attributes

Source
IArray.scala
extension[T](arr:IArray[T])
defindexWhere(p:T=>Boolean,from:Int = ...):Int

Finds index of the first element satisfying some predicate after or at some start index.

Finds index of the first element satisfying some predicate after or at some start index.

Attributes

Source
IArray.scala
extension[T](arr:IArray[T])

Produces the range of all indices of this sequence.

Produces the range of all indices of this sequence.

Attributes

Source
IArray.scala
extension[T](arr:IArray[T])
definit:IArray[T]

The initial part of the array without its last element.

The initial part of the array without its last element.

Attributes

Source
IArray.scala
extension[T](arr:IArray[T])

Tests whether the array is empty.

Tests whether the array is empty.

Attributes

Source
IArray.scala
extension[T](arr:IArray[T])

An iterator yielding the elemenst of this array.

An iterator yielding the elemenst of this array.

Attributes

Source
IArray.scala
extension[T](arr:IArray[T])
deflast:T

Selects the last element.

Selects the last element.

Attributes

Source
IArray.scala
extension[T](arr:IArray[T])

Optionally selects the last element.

Optionally selects the last element.

Attributes

Source
IArray.scala
extension[T](arr:IArray[T])
deflastIndexOf(elem:T,end:Int = ...):Int

Finds index of last occurrence of some value in this array before or at a given end index.

Finds index of last occurrence of some value in this array before or at a given end index.

Attributes

Source
IArray.scala
extension[T](arr:IArray[T])
deflastIndexWhere(p:T=>Boolean,end:Int = ...):Int

Finds index of last element satisfying some predicate before or at given end index.

Finds index of last element satisfying some predicate before or at given end index.

Attributes

Source
IArray.scala
extension[T](arr:IArray[T])
defmap[U :ClassTag](f:T=>U):IArray[U]

Builds a new array by applying a function to all elements of this array.

Builds a new array by applying a function to all elements of this array.

Attributes

Source
IArray.scala
extension[T](arr:IArray[T])

Tests whether the array is not empty.

Tests whether the array is not empty.

Attributes

Source
IArray.scala
extension[T](arr:IArray[T])
defpartition(p:T=>Boolean): (IArray[T],IArray[T])

A pair of, first, all elements that satisfy predicatep and, second, all elements that do not.

A pair of, first, all elements that satisfy predicatep and, second, all elements that do not.

Attributes

Source
IArray.scala
extension[T](arr:IArray[T])

Returns a new array with the elements in reversed order.

Returns a new array with the elements in reversed order.

Attributes

Source
IArray.scala
extension[T](arr:IArray[T])
defscan[U >:T :ClassTag](z:U)(op: (U,U)=>U):IArray[U]

Computes a prefix scan of the elements of the array.

Computes a prefix scan of the elements of the array.

Attributes

Source
IArray.scala
extension[T](arr:IArray[T])
defscanLeft[U :ClassTag](z:U)(op: (U,T)=>U):IArray[U]

Produces an array containing cumulative results of applying the binary operator going left to right.

Produces an array containing cumulative results of applying the binary operator going left to right.

Attributes

Source
IArray.scala
extension[T](arr:IArray[T])
defscanRight[U :ClassTag](z:U)(op: (T,U)=>U):IArray[U]

Produces an array containing cumulative results of applying the binary operator going right to left.

Produces an array containing cumulative results of applying the binary operator going right to left.

Attributes

Source
IArray.scala
extension[T](arr:IArray[T])

The size of this array.

The size of this array.

Attributes

Source
IArray.scala
extension[T](arr:IArray[T])
defslice(from:Int,until:Int):IArray[T]

Selects the interval of elements between the given indices.

Selects the interval of elements between the given indices.

Attributes

Source
IArray.scala
extension[T](arr:IArray[T])
defsortBy[U](f:T=>U)(usingOrdering[U]):IArray[T]

Sorts this array according to the Ordering which results from transforming an implicitly given Ordering with a transformation function.

Sorts this array according to the Ordering which results from transforming an implicitly given Ordering with a transformation function.

Attributes

Source
IArray.scala
extension[T](arr:IArray[T])
defsortWith(f: (T,T)=>Boolean):IArray[T]

Sorts this array according to a comparison function.

Sorts this array according to a comparison function.

Attributes

Source
IArray.scala
extension[T](arr:IArray[T])
defsorted(usingOrdering[T]):IArray[T]

Sorts this array according to an Ordering.

Sorts this array according to an Ordering.

Attributes

Source
IArray.scala
extension[T](arr:IArray[T])
defspan(p:T=>Boolean): (IArray[T],IArray[T])

Splits this array into a prefix/suffix pair according to a predicate.

Splits this array into a prefix/suffix pair according to a predicate.

Attributes

Source
IArray.scala
extension[T](arr:IArray[T])
defsplitAt(n:Int): (IArray[T],IArray[T])

Splits this array into two at a given position.

Splits this array into two at a given position.

Attributes

Source
IArray.scala
extension[T](arr:IArray[T])
deftail:IArray[T]

The rest of the array without its first element.

The rest of the array without its first element.

Attributes

Source
IArray.scala
extension[T](arr:IArray[T])
deftake(n:Int):IArray[T]

An array containing the firstn elements of this array.

An array containing the firstn elements of this array.

Attributes

Source
IArray.scala
extension[T](arr:IArray[T])

An array containing the lastn elements of this array.

An array containing the lastn elements of this array.

Attributes

Source
IArray.scala
extension[T](arr:IArray[T])

Takes longest prefix of elements that satisfy a predicate.

Takes longest prefix of elements that satisfy a predicate.

Attributes

Source
IArray.scala
extension[T](arr:IArray[T])
def++[U >:T :ClassTag](suffix:IArray[U]):IArray[U]

Attributes

Source
IArray.scala
def++[U >:T :ClassTag](suffix:IterableOnce[U]):IArray[U]

Attributes

Source
IArray.scala
def:+[U >:T :ClassTag](x:U):IArray[U]

Attributes

Source
IArray.scala
def:++[U >:T :ClassTag](suffix:IArray[U]):IArray[U]

Attributes

Source
IArray.scala
def:++[U >:T :ClassTag](suffix:IterableOnce[U]):IArray[U]

Attributes

Source
IArray.scala
defappended[U >:T :ClassTag](x:U):IArray[U]

Attributes

Source
IArray.scala
defappendedAll[U >:T :ClassTag](suffix:IArray[U]):IArray[U]

Attributes

Source
IArray.scala
defappendedAll[U >:T :ClassTag](suffix:IterableOnce[U]):IArray[U]

Attributes

Source
IArray.scala

Attributes

Source
IArray.scala

Attributes

Source
IArray.scala

Attributes

Source
IArray.scala
defconcat[U >:T :ClassTag](suffix:IArray[U]):IArray[U]

Attributes

Source
IArray.scala
defconcat[U >:T :ClassTag](suffix:IterableOnce[U]):IArray[U]

Attributes

Source
IArray.scala
defdiff[U >:T](that:IArray[U]):IArray[T]

Attributes

Source
IArray.scala
defdiff[U >:T](that:Seq[U]):IArray[T]

Attributes

Source
IArray.scala

Attributes

Source
IArray.scala
defdistinctBy[U](f:T=>U):IArray[T]

Attributes

Source
IArray.scala
defendsWith[U >:T](that:IArray[U]):Boolean

Attributes

Source
IArray.scala
defendsWith[U >:T](that:Iterable[U]):Boolean

Attributes

Source
IArray.scala
defgroupBy[K](f:T=>K):Map[K,IArray[T]]

Attributes

Source
IArray.scala
defgroupMap[K,U :ClassTag](key:T=>K)(f:T=>U):Map[K,IArray[U]]

Attributes

Source
IArray.scala
defgrouped(size:Int):Iterator[IArray[T]]

Attributes

Source
IArray.scala

Attributes

Source
IArray.scala
defintersect[U >:T](that:IArray[U]):IArray[T]

Attributes

Source
IArray.scala
defintersect[U >:T](that:Seq[U]):IArray[T]

Attributes

Source
IArray.scala
deflazyZip[U](that:IArray[U]):LazyZip2[T,U,IArray[T]]

Attributes

Source
IArray.scala
deflazyZip[U](that:Iterable[U]):LazyZip2[T,U,IArray[T]]

Attributes

Source
IArray.scala

Attributes

Source
IArray.scala
defpadTo[U >:T :ClassTag](len:Int,elem:U):IArray[U]

Attributes

Source
IArray.scala
defpartitionMap[T1 :ClassTag,T2 :ClassTag](f:T=>Either[T1,T2]): (IArray[T1],IArray[T2])

Attributes

Source
IArray.scala
defpatch[U >:T :ClassTag](from:Int,other:IterableOnce[U],replaced:Int):IArray[U]

Attributes

Source
IArray.scala

Attributes

Source
IArray.scala
defprepended[U >:T :ClassTag](x:U):IArray[U]

Attributes

Source
IArray.scala
defprependedAll[U >:T :ClassTag](prefix:IterableOnce[U]):IArray[U]

Attributes

Source
IArray.scala

Attributes

Source
IArray.scala
defsearch[U >:T](elem:U)(usingOrdering[U]):SearchResult

Attributes

Source
IArray.scala
defsearch[U >:T](elem:U,from:Int,to:Int)(usingOrdering[U]):SearchResult

Attributes

Source
IArray.scala

Attributes

Source
IArray.scala

Attributes

Source
IArray.scala
defsizeCompare(otherSize:Int):Int

Attributes

Source
IArray.scala
defsliding(size:Int,step:Int = ...):Iterator[IArray[T]]

Attributes

Source
IArray.scala
defstartsWith[U >:T](that:IArray[U]):Boolean

Attributes

Source
IArray.scala
defstartsWith[U >:T](that:IArray[U],offset:Int):Boolean

Attributes

Source
IArray.scala
defstartsWith[U >:T](that:IterableOnce[U]):Boolean

Attributes

Source
IArray.scala
defstartsWith[U >:T](that:IterableOnce[U],offset:Int):Boolean

Attributes

Source
IArray.scala
defstepper[S <:Stepper[_]](usingStepperShape[T,S]):S

Attributes

Source
IArray.scala

Attributes

Source
IArray.scala
deftapEach[U](f:T=>U):IArray[T]

Attributes

Source
IArray.scala
deftranspose[U](implicitasArray:T=>IArray[U]):IArray[IArray[U]]

Attributes

Source
IArray.scala
defunzip[T1,T2](usingasPair:T=> (T1,T2),ct1:ClassTag[T1],ct2:ClassTag[T2]): (IArray[T1],IArray[T2])

Attributes

Source
IArray.scala
defunzip3[T1,T2,T3](usingasTriple:T=> (T1,T2,T3),ct1:ClassTag[T1],ct2:ClassTag[T2],ct3:ClassTag[T3]): (IArray[T1],IArray[T2],IArray[T3])

Attributes

Source
IArray.scala
defupdated[U >:T :ClassTag](index:Int,elem:U):IArray[U]

Attributes

Source
IArray.scala

Attributes

Source
IArray.scala

Attributes

Source
IArray.scala
defzip[U](that:IArray[U]):IArray[(T,U)]

Attributes

Source
IArray.scala
defzip[U](that:IterableOnce[U]):IArray[(T,U)]

Attributes

Source
IArray.scala
defzipAll[T1 >:T,U](that:IArray[U],thisElem:T1,thatElem:U):IArray[(T1,U)]

Attributes

Source
IArray.scala
defzipAll[T1 >:T,U](that:Iterable[U],thisElem:T1,thatElem:U):IArray[(T1,U)]

Attributes

Source
IArray.scala

Attributes

Source
IArray.scala
extension[T,U >:T :ClassTag](prefix:IterableOnce[T])
def++:(arr:IArray[U]):IArray[U]

Attributes

Source
IArray.scala
extension[T,U >:T :ClassTag](prefix:IArray[T])
def++:(arr:IArray[U]):IArray[U]

Attributes

Source
IArray.scala
extension[T,U >:T :ClassTag](x:T)
def+:(arr:IArray[U]):IArray[U]

Attributes

Source
IArray.scala

Deprecated extensions

extension[T](arr:IArray[T])

Returns a mutable copy of this immutable array.

Returns a mutable copy of this immutable array.

Attributes

Deprecated
[Since version 3.0.1]This method implementation is incorrect and calling it can crash your program, please use `IArray.genericWrapArray(myIArray).toArray` instead.
Source
IArray.scala

Implicits

Implicits

implicitdefgenericWrapArray[T](arr:IArray[T]):ArraySeq[T]

Conversion from IArray to immutable.ArraySeq

Conversion from IArray to immutable.ArraySeq

Attributes

Source
IArray.scala

Conversion from IArray to immutable.ArraySeq

Conversion from IArray to immutable.ArraySeq

Attributes

Source
IArray.scala
implicitdefwrapByteIArray(arr:IArray[Byte]):ofByte

Conversion from IArray to immutable.ArraySeq

Conversion from IArray to immutable.ArraySeq

Attributes

Source
IArray.scala
implicitdefwrapCharIArray(arr:IArray[Char]):ofChar

Conversion from IArray to immutable.ArraySeq

Conversion from IArray to immutable.ArraySeq

Attributes

Source
IArray.scala

Conversion from IArray to immutable.ArraySeq

Conversion from IArray to immutable.ArraySeq

Attributes

Source
IArray.scala

Conversion from IArray to immutable.ArraySeq

Conversion from IArray to immutable.ArraySeq

Attributes

Source
IArray.scala
implicitdefwrapIntArray(arr:IArray[Int]):ofInt

Conversion from IArray to immutable.ArraySeq

Conversion from IArray to immutable.ArraySeq

Attributes

Source
IArray.scala
implicitdefwrapLongIArray(arr:IArray[Long]):ofLong

Conversion from IArray to immutable.ArraySeq

Conversion from IArray to immutable.ArraySeq

Attributes

Source
IArray.scala
implicitdefwrapRefArray[T <:AnyRef](arr:IArray[T]):ofRef[T]

Conversion from IArray to immutable.ArraySeq

Conversion from IArray to immutable.ArraySeq

Attributes

Source
IArray.scala

Conversion from IArray to immutable.ArraySeq

Conversion from IArray to immutable.ArraySeq

Attributes

Source
IArray.scala
implicitdefwrapUnitIArray(arr:IArray[Unit]):ofUnit

Conversion from IArray to immutable.ArraySeq

Conversion from IArray to immutable.ArraySeq

Attributes

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

[8]ページ先頭

©2009-2025 Movatter.jp