final class WrappedArray[A] extends AbstractBuffer[A] with GenericTraversableTemplate[A, WrappedArray] with collection.mutable.IndexedSeq[A] with BufferLike[A, WrappedArray[A]] with ArrayLike[A, WrappedArray[A]] with Builder[A, WrappedArray[A]]
- Alphabetic
- By Inheritance
- WrappedArray
- Builder
- ArrayLike
- IndexedSeqOptimized
- IndexedSeqOptimized
- IndexedSeq
- IndexedSeqLike
- IndexedSeq
- IndexedSeqLike
- AbstractBuffer
- Buffer
- BufferLike
- Subtractable
- Scriptable
- Shrinkable
- Growable
- Clearable
- AbstractSeq
- Seq
- SeqLike
- Cloneable
- Cloneable
- Cloneable
- Iterable
- Traversable
- Mutable
- AbstractSeq
- Seq
- SeqLike
- GenSeq
- GenSeqLike
- PartialFunction
- Function1
- AbstractIterable
- Iterable
- IterableLike
- Equals
- GenIterable
- GenIterableLike
- AbstractTraversable
- Traversable
- GenTraversable
- GenericTraversableTemplate
- TraversableLike
- GenTraversableLike
- Parallelizable
- TraversableOnce
- GenTraversableOnce
- FilterMonadic
- HasNewBuilder
- AnyRef
- Any
- by toJSArray
- by CollectionsHaveToParArray
- by MonadOps
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- by alternateImplicit
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
WrappedArray()
Creates a new empty js.WrappedArray.
- new WrappedArray(array: Array[A])
Type Members
-
class
Elements extends AbstractIterator[A] with collection.BufferedIterator[A] with Serializable
- Attributes
- protected
- Definition Classes
- IndexedSeqLike
- Annotations
- @SerialVersionUID()
-
type
Self = WrappedArray[A]
- Attributes
- protected[this]
- Definition Classes
- TraversableLike
-
class
WithFilter extends FilterMonadic[A, Repr]
- Definition Classes
- TraversableLike
Value Members
-
final
def
!=(arg0: scala.Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
+(other: String): String
- Implicit
- This member is added by an implicit conversion from WrappedArray[A] to any2stringadd[WrappedArray[A]] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
++(xs: GenTraversableOnce[A]): WrappedArray[A]
- Definition Classes
- BufferLike
- Annotations
- @migration
- Migration
(Changed in version 2.8.0)
++
creates a new buffer. Use++=
to add an element from this buffer and return that buffer itself.
-
def
++[B >: A, That](that: GenTraversableOnce[B])(implicit bf: CanBuildFrom[WrappedArray[A], B, That]): That
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
++:[B >: A, That](that: collection.Traversable[B])(implicit bf: CanBuildFrom[WrappedArray[A], B, That]): That
- Definition Classes
- TraversableLike
-
def
++:[B >: A, That](that: collection.TraversableOnce[B])(implicit bf: CanBuildFrom[WrappedArray[A], B, That]): That
- Definition Classes
- TraversableLike
-
def
++=(xs: collection.TraversableOnce[A]): WrappedArray.this.type
- Definition Classes
- Growable
-
def
++=:(xs: TraversableOnce[A]): WrappedArray.this.type
- Definition Classes
- WrappedArray → BufferLike
- Annotations
- @inline()
-
def
+:[B >: A, That](elem: B)(implicit bf: CanBuildFrom[WrappedArray[A], B, That]): That
- Definition Classes
- SeqLike → GenSeqLike
-
def
+=(elem: A): WrappedArray.this.type
- Definition Classes
- WrappedArray → Builder → BufferLike → Growable
- Annotations
- @inline()
-
def
+=(elem1: A, elem2: A, elems: A*): WrappedArray.this.type
- Definition Classes
- Growable
-
def
+=:(elem: A): WrappedArray.this.type
- Definition Classes
- WrappedArray → BufferLike
- Annotations
- @inline()
-
def
-(elem1: A, elem2: A, elems: A*): WrappedArray[A]
- Definition Classes
- BufferLike → Subtractable
- Annotations
- @migration
- Migration
(Changed in version 2.8.0)
-
creates a new buffer. Use-=
to remove an element from this buffer and return that buffer itself.
-
def
-(elem: A): WrappedArray[A]
- Definition Classes
- BufferLike → Subtractable
- Annotations
- @migration
- Migration
(Changed in version 2.8.0)
-
creates a new buffer. Use-=
to remove an element from this buffer and return that buffer itself.
-
def
--(xs: GenTraversableOnce[A]): WrappedArray[A]
- Definition Classes
- BufferLike → Subtractable
- Annotations
- @migration
- Migration
(Changed in version 2.8.0)
--
creates a new buffer. Use--=
to remove an element from this buffer and return that buffer itself.
-
def
--=(xs: collection.TraversableOnce[A]): WrappedArray.this.type
- Definition Classes
- Shrinkable
-
def
-=(x: A): WrappedArray.this.type
- Definition Classes
- BufferLike → Shrinkable
-
def
-=(elem1: A, elem2: A, elems: A*): WrappedArray.this.type
- Definition Classes
- Shrinkable
-
def
->[B](y: B): (WrappedArray[A], B)
- Implicit
- This member is added by an implicit conversion from WrappedArray[A] to ArrowAssoc[WrappedArray[A]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
def
:+[B >: A, That](elem: B)(implicit bf: CanBuildFrom[WrappedArray[A], B, That]): That
- Definition Classes
- SeqLike → GenSeqLike
-
final
def
==(arg0: scala.Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
addString(b: StringBuilder): StringBuilder
- Definition Classes
- TraversableOnce
-
def
addString(b: StringBuilder, sep: String): StringBuilder
- Definition Classes
- TraversableOnce
-
def
addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder
- Definition Classes
- TraversableOnce
-
def
aggregate[B](z: ⇒ B)(seqop: (B, A) ⇒ B, combop: (B, B) ⇒ B): B
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
andThen[C](k: (A) ⇒ C): PartialFunction[Int, C]
- Definition Classes
- PartialFunction → Function1
-
def
append(elems: A*): Unit
- Definition Classes
- BufferLike
-
def
appendAll(xs: collection.TraversableOnce[A]): Unit
- Definition Classes
- BufferLike
-
def
apply(index: Int): A
- Definition Classes
- WrappedArray → BufferLike → SeqLike → GenSeqLike → Function1
- Annotations
- @inline()
-
def
applyOrElse[A1 <: Int, B1 >: A](x: A1, default: (A1) ⇒ B1): B1
- Definition Classes
- PartialFunction
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
canEqual(that: scala.Any): Boolean
- Definition Classes
- IterableLike → Equals
-
def
clear(): Unit
- Definition Classes
- WrappedArray → Builder → BufferLike → Growable → Clearable
- Annotations
- @inline()
-
def
clone(): WrappedArray[A]
- Definition Classes
- BufferLike → Cloneable → AnyRef
-
def
collect[B, That](pf: PartialFunction[A, B])(implicit bf: CanBuildFrom[WrappedArray[A], B, That]): That
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
collectFirst[B](pf: PartialFunction[A, B]): Option[B]
- Definition Classes
- TraversableOnce
-
def
combinations(n: Int): collection.Iterator[WrappedArray[A]]
- Definition Classes
- SeqLike
-
def
companion: GenericCompanion[WrappedArray]
- Definition Classes
- WrappedArray → IndexedSeq → IndexedSeq → Buffer → Seq → Iterable → Traversable → Seq → GenSeq → Iterable → GenIterable → Traversable → GenTraversable → GenericTraversableTemplate
-
def
compose[A](g: (A) ⇒ Int): (A) ⇒ A
- Definition Classes
- Function1
- Annotations
- @unspecialized()
-
def
concat[B >: A](items: Array[_ <: B]*): Array[B]
concat creates a new array consisting of the elements in the this object on which it is called, followed in order by, for each argument, the elements of that argument (if the argument is an array) or the argument itself (if the argument is not an array).
concat creates a new array consisting of the elements in the this object on which it is called, followed in order by, for each argument, the elements of that argument (if the argument is an array) or the argument itself (if the argument is not an array).
MDN
- Implicit
- This member is added by an implicit conversion from WrappedArray[A] to Array[A] performed by method toJSArray in scala.scalajs.js.WrappedArray.
- Definition Classes
- Array
-
def
contains[A1 >: A](elem: A1): Boolean
- Definition Classes
- SeqLike
-
def
containsSlice[B](that: GenSeq[B]): Boolean
- Definition Classes
- SeqLike
-
def
copyToArray[B >: A](xs: scala.Array[B], start: Int, len: Int): Unit
- Definition Classes
- IndexedSeqOptimized → IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
-
def
copyToArray[B >: A](xs: scala.Array[B]): Unit
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
copyToArray[B >: A](xs: scala.Array[B], start: Int): Unit
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
copyToBuffer[B >: A](dest: Buffer[B]): Unit
- Definition Classes
- TraversableOnce
-
def
corresponds[B](that: GenSeq[B])(p: (A, B) ⇒ Boolean): Boolean
- Definition Classes
- SeqLike → GenSeqLike
-
def
count(p: (A) ⇒ Boolean): Int
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
deep: collection.IndexedSeq[scala.Any]
- Definition Classes
- ArrayLike
-
def
diff[B >: A](that: GenSeq[B]): WrappedArray[A]
- Definition Classes
- SeqLike → GenSeqLike
-
def
distinct: WrappedArray[A]
- Definition Classes
- SeqLike → GenSeqLike
-
def
drop(n: Int): WrappedArray[A]
- Definition Classes
- IndexedSeqOptimized → IterableLike → TraversableLike → GenTraversableLike
-
def
dropRight(n: Int): WrappedArray[A]
- Definition Classes
- IndexedSeqOptimized → IterableLike
-
def
dropWhile(p: (A) ⇒ Boolean): WrappedArray[A]
- Definition Classes
- IndexedSeqOptimized → TraversableLike → GenTraversableLike
-
def
endsWith[B](that: GenSeq[B]): Boolean
- Definition Classes
- IndexedSeqOptimized → SeqLike → GenSeqLike
-
def
ensuring(cond: (WrappedArray[A]) ⇒ Boolean, msg: ⇒ scala.Any): WrappedArray[A]
- Implicit
- This member is added by an implicit conversion from WrappedArray[A] to Ensuring[WrappedArray[A]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (WrappedArray[A]) ⇒ Boolean): WrappedArray[A]
- Implicit
- This member is added by an implicit conversion from WrappedArray[A] to Ensuring[WrappedArray[A]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ scala.Any): WrappedArray[A]
- Implicit
- This member is added by an implicit conversion from WrappedArray[A] to Ensuring[WrappedArray[A]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): WrappedArray[A]
- Implicit
- This member is added by an implicit conversion from WrappedArray[A] to Ensuring[WrappedArray[A]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(that: scala.Any): Boolean
- Definition Classes
- GenSeqLike → Equals → Any
-
def
exists(p: (A) ⇒ Boolean): Boolean
- Definition Classes
- IndexedSeqOptimized → IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
-
def
filter(p: (A) ⇒ Boolean): WrappedArray[A]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
filterNot(p: (A) ⇒ Boolean): WrappedArray[A]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
find(p: (A) ⇒ Boolean): Option[A]
- Definition Classes
- IndexedSeqOptimized → IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
-
def
flatMap[B, That](f: (A) ⇒ GenTraversableOnce[B])(implicit bf: CanBuildFrom[WrappedArray[A], B, That]): That
- Definition Classes
- TraversableLike → GenTraversableLike → FilterMonadic
-
def
flatten[B](implicit asTraversable: (A) ⇒ GenTraversableOnce[B]): WrappedArray[B]
- Definition Classes
- GenericTraversableTemplate
-
def
fold[A1 >: A](z: A1)(op: (A1, A1) ⇒ A1): A1
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
foldLeft[B](z: B)(op: (B, A) ⇒ B): B
- Definition Classes
- IndexedSeqOptimized → TraversableOnce → GenTraversableOnce
-
def
foldRight[B](z: B)(op: (A, B) ⇒ B): B
- Definition Classes
- IndexedSeqOptimized → IterableLike → TraversableOnce → GenTraversableOnce
-
def
forall(p: (A) ⇒ Boolean): Boolean
- Definition Classes
- IndexedSeqOptimized → IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
-
def
foreach[U](f: (A) ⇒ U): Unit
- Definition Classes
- IndexedSeqOptimized → IterableLike → TraversableLike → GenTraversableLike → TraversableOnce → GenTraversableOnce → FilterMonadic
-
def
genericBuilder[B]: Builder[B, WrappedArray[B]]
- Definition Classes
- GenericTraversableTemplate
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
groupBy[K](f: (A) ⇒ K): collection.immutable.Map[K, WrappedArray[A]]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
grouped(size: Int): collection.Iterator[WrappedArray[A]]
- Definition Classes
- IterableLike
-
def
hasDefiniteSize: Boolean
- Definition Classes
- TraversableLike → TraversableOnce → GenTraversableOnce
-
def
hasOwnProperty(v: String): Boolean
Tests whether this object has the specified property as a direct property.
Tests whether this object has the specified property as a direct property.
Unlike js.Object.hasProperty, this method does not check down the object's prototype chain.
MDN
- Implicit
- This member is added by an implicit conversion from WrappedArray[A] to Array[A] performed by method toJSArray in scala.scalajs.js.WrappedArray.
- Definition Classes
- Object
-
def
hashCode(): Int
- Definition Classes
- IndexedSeqLike → GenSeqLike → Any
-
def
head: A
- Definition Classes
- IndexedSeqOptimized → IterableLike → TraversableLike → GenTraversableLike
-
def
headOption: Option[A]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
indexOf[B >: A](elem: B, from: Int): Int
- Definition Classes
- GenSeqLike
-
def
indexOf[B >: A](elem: B): Int
- Definition Classes
- GenSeqLike
-
def
indexOfSlice[B >: A](that: GenSeq[B], from: Int): Int
- Definition Classes
- SeqLike
-
def
indexOfSlice[B >: A](that: GenSeq[B]): Int
- Definition Classes
- SeqLike
-
def
indexWhere(p: (A) ⇒ Boolean, from: Int): Int
- Definition Classes
- IndexedSeqOptimized → SeqLike → GenSeqLike
-
def
indexWhere(p: (A) ⇒ Boolean): Int
- Definition Classes
- GenSeqLike
-
def
indices: collection.immutable.Range
- Definition Classes
- SeqLike
-
def
init: WrappedArray[A]
- Definition Classes
- IndexedSeqOptimized → TraversableLike → GenTraversableLike
-
def
inits: collection.Iterator[WrappedArray[A]]
- Definition Classes
- TraversableLike
-
def
insert(n: Int, elems: A*): Unit
- Definition Classes
- BufferLike
-
def
insertAll(n: Int, elems: collection.Traversable[A]): Unit
- Definition Classes
- WrappedArray → BufferLike
-
def
intersect[B >: A](that: GenSeq[B]): WrappedArray[A]
- Definition Classes
- SeqLike → GenSeqLike
-
def
isDefinedAt(idx: Int): Boolean
- Definition Classes
- GenSeqLike
-
def
isEmpty: Boolean
- Definition Classes
- IndexedSeqOptimized → SeqLike → IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isPrototypeOf(v: Object): Boolean
Tests whether this object is in the prototype chain of another object.
Tests whether this object is in the prototype chain of another object.
- Implicit
- This member is added by an implicit conversion from WrappedArray[A] to Array[A] performed by method toJSArray in scala.scalajs.js.WrappedArray.
- Definition Classes
- Object
-
final
def
isTraversableAgain: Boolean
- Definition Classes
- TraversableLike → GenTraversableLike → GenTraversableOnce
-
def
iterator: collection.Iterator[A]
- Definition Classes
- IndexedSeqLike → IterableLike → GenIterableLike
-
def
join(seperator: String = ","): String
The join() method joins all elements of an array into a string.
The join() method joins all elements of an array into a string.
separator Specifies a string to separate each element of the array. The separator is converted to a string if necessary. If omitted, the array elements are separated with a comma.
- Implicit
- This member is added by an implicit conversion from WrappedArray[A] to Array[A] performed by method toJSArray in scala.scalajs.js.WrappedArray.
- Definition Classes
- Array
-
def
jsIterator(): Iterator[A]
ECMAScript 6 JavaScript Iterator for this Array.
ECMAScript 6 JavaScript Iterator for this Array.
- Implicit
- This member is added by an implicit conversion from WrappedArray[A] to Array[A] performed by method toJSArray in scala.scalajs.js.WrappedArray.
- Definition Classes
- Array → Iterable
- Annotations
- @JSName( symbol = js.Symbol.iterator )
-
def
jsSlice(start: Int = 0, end: Int = Int.MaxValue): Array[A]
The slice() method returns a shallow copy of a portion of an array.
The slice() method returns a shallow copy of a portion of an array.
MDN
- Implicit
- This member is added by an implicit conversion from WrappedArray[A] to Array[A] performed by method toJSArray in scala.scalajs.js.WrappedArray.
- Definition Classes
- Array
- Annotations
- @JSName( name = "slice" )
-
def
last: A
- Definition Classes
- IndexedSeqOptimized → TraversableLike → GenTraversableLike
-
def
lastIndexOf[B >: A](elem: B, end: Int): Int
- Definition Classes
- GenSeqLike
-
def
lastIndexOf[B >: A](elem: B): Int
- Definition Classes
- GenSeqLike
-
def
lastIndexOfSlice[B >: A](that: GenSeq[B], end: Int): Int
- Definition Classes
- SeqLike
-
def
lastIndexOfSlice[B >: A](that: GenSeq[B]): Int
- Definition Classes
- SeqLike
-
def
lastIndexWhere(p: (A) ⇒ Boolean, end: Int): Int
- Definition Classes
- IndexedSeqOptimized → SeqLike → GenSeqLike
-
def
lastIndexWhere(p: (A) ⇒ Boolean): Int
- Definition Classes
- GenSeqLike
-
def
lastOption: Option[A]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
length: Int
- Definition Classes
- WrappedArray → BufferLike → SeqLike → GenSeqLike
- Annotations
- @inline()
-
def
lengthCompare(len: Int): Int
- Definition Classes
- IndexedSeqOptimized → SeqLike
-
def
length_=(v: Int): Unit
Sets the length of the array.
Sets the length of the array. If the new length is bigger than the old length, created slots are filled with
undefined
(irrespective of the type argumentA
!). If the new length is smaller than the old length, the array is shrunk.- Implicit
- This member is added by an implicit conversion from WrappedArray[A] to Array[A] performed by method toJSArray in scala.scalajs.js.WrappedArray.
- Definition Classes
- Array
-
def
lift: (Int) ⇒ Option[A]
- Definition Classes
- PartialFunction
-
def
map[B, That](f: (A) ⇒ B)(implicit bf: CanBuildFrom[WrappedArray[A], B, That]): That
- Definition Classes
- TraversableLike → GenTraversableLike → FilterMonadic
-
def
mapResult[NewTo](f: (WrappedArray[A]) ⇒ NewTo): Builder[A, NewTo]
- Definition Classes
- Builder
-
def
max[B >: A](implicit cmp: Ordering[B]): A
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
maxBy[B](f: (A) ⇒ B)(implicit cmp: Ordering[B]): A
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
min[B >: A](implicit cmp: Ordering[B]): A
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
minBy[B](f: (A) ⇒ B)(implicit cmp: Ordering[B]): A
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
mkString: String
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
mkString(sep: String): String
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
mkString(start: String, sep: String, end: String): String
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
newBuilder: Builder[A, WrappedArray[A]]
- Attributes
- protected[this]
- Definition Classes
- GenericTraversableTemplate → HasNewBuilder
-
def
nonEmpty: Boolean
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
orElse[A1 <: Int, B1 >: A](that: PartialFunction[A1, B1]): PartialFunction[A1, B1]
- Definition Classes
- PartialFunction
-
def
padTo[B >: A, That](len: Int, elem: B)(implicit bf: CanBuildFrom[WrappedArray[A], B, That]): That
- Definition Classes
- SeqLike → GenSeqLike
-
def
par: ParSeq[A]
- Definition Classes
- Parallelizable
-
def
parCombiner: Combiner[A, ParSeq[A]]
- Attributes
- protected[this]
- Definition Classes
- SeqLike → SeqLike → TraversableLike → Parallelizable
-
def
partition(p: (A) ⇒ Boolean): (WrappedArray[A], WrappedArray[A])
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
patch[B >: A, That](from: Int, patch: GenSeq[B], replaced: Int)(implicit bf: CanBuildFrom[WrappedArray[A], B, That]): That
- Definition Classes
- SeqLike → GenSeqLike
-
def
permutations: collection.Iterator[WrappedArray[A]]
- Definition Classes
- SeqLike
-
def
pop(): A
The pop() method removes the last element from an array and returns that element.
The pop() method removes the last element from an array and returns that element.
MDN
- Implicit
- This member is added by an implicit conversion from WrappedArray[A] to Array[A] performed by method toJSArray in scala.scalajs.js.WrappedArray.
- Definition Classes
- Array
-
def
prefixLength(p: (A) ⇒ Boolean): Int
- Definition Classes
- GenSeqLike
-
def
prepend(elems: A*): Unit
- Definition Classes
- BufferLike
-
def
prependAll(xs: collection.TraversableOnce[A]): Unit
- Definition Classes
- BufferLike
-
def
product[B >: A](implicit num: Numeric[B]): B
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
propertyIsEnumerable(v: String): Boolean
Tests whether the specified property in an object can be enumerated by a call to js.Object.properties, with the exception of properties inherited through the prototype chain.
Tests whether the specified property in an object can be enumerated by a call to js.Object.properties, with the exception of properties inherited through the prototype chain.
If the object does not have the specified property, this method returns false.
MDN
- Implicit
- This member is added by an implicit conversion from WrappedArray[A] to Array[A] performed by method toJSArray in scala.scalajs.js.WrappedArray.
- Definition Classes
- Object
-
def
push(items: A*): Int
The push() method mutates an array by appending the given elements and returning the new length of the array.
The push() method mutates an array by appending the given elements and returning the new length of the array.
MDN
- Implicit
- This member is added by an implicit conversion from WrappedArray[A] to Array[A] performed by method toJSArray in scala.scalajs.js.WrappedArray.
- Definition Classes
- Array
-
def
reduce[A1 >: A](op: (A1, A1) ⇒ A1): A1
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
reduceLeft[B >: A](op: (B, A) ⇒ B): B
- Definition Classes
- IndexedSeqOptimized → TraversableOnce
-
def
reduceLeftOption[B >: A](op: (B, A) ⇒ B): Option[B]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
reduceOption[A1 >: A](op: (A1, A1) ⇒ A1): Option[A1]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
reduceRight[B >: A](op: (A, B) ⇒ B): B
- Definition Classes
- IndexedSeqOptimized → IterableLike → TraversableOnce → GenTraversableOnce
-
def
reduceRightOption[B >: A](op: (A, B) ⇒ B): Option[B]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
remove(n: Int, count: Int): Unit
- Definition Classes
- WrappedArray → BufferLike
-
def
remove(n: Int): A
- Definition Classes
- WrappedArray → BufferLike
-
def
repr: WrappedArray[A]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
result(): WrappedArray[A]
- Definition Classes
- WrappedArray → Builder
- Annotations
- @inline()
-
def
reverse: WrappedArray[A]
- Definition Classes
- IndexedSeqOptimized → SeqLike → GenSeqLike
-
def
reverseInPlace(): Array[A]
The reverse() method reverses an array in place.
The reverse() method reverses an array in place. The first array element becomes the last and the last becomes the first.
MDN
- Implicit
- This member is added by an implicit conversion from WrappedArray[A] to Array[A] performed by method toJSArray in scala.scalajs.js.WrappedArray.
- Definition Classes
- Array
- Annotations
- @JSName( name = "reverse" )
-
def
reverseIterator: collection.Iterator[A]
- Definition Classes
- IndexedSeqOptimized → SeqLike
-
def
reverseMap[B, That](f: (A) ⇒ B)(implicit bf: CanBuildFrom[WrappedArray[A], B, That]): That
- Definition Classes
- SeqLike → GenSeqLike
-
def
reversed: List[A]
- Attributes
- protected[this]
- Definition Classes
- TraversableOnce
-
def
runWith[U](action: (A) ⇒ U): (Int) ⇒ Boolean
- Definition Classes
- PartialFunction
-
def
sameElements[B >: A](that: GenIterable[B]): Boolean
- Definition Classes
- IndexedSeqOptimized → IterableLike → GenIterableLike
-
def
scan[B >: A, That](z: B)(op: (B, B) ⇒ B)(implicit cbf: CanBuildFrom[WrappedArray[A], B, That]): That
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
scanLeft[B, That](z: B)(op: (B, A) ⇒ B)(implicit bf: CanBuildFrom[WrappedArray[A], B, That]): That
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
scanRight[B, That](z: B)(op: (A, B) ⇒ B)(implicit bf: CanBuildFrom[WrappedArray[A], B, That]): That
- Definition Classes
- TraversableLike → GenTraversableLike
- Annotations
- @migration
- Migration
(Changed in version 2.9.0) The behavior of
scanRight
has changed. The previous behavior can be reproduced with scanRight.reverse.
-
def
segmentLength(p: (A) ⇒ Boolean, from: Int): Int
- Definition Classes
- IndexedSeqOptimized → SeqLike → GenSeqLike
-
def
seq: collection.mutable.IndexedSeq[A]
- Definition Classes
- IndexedSeq → IndexedSeq → IndexedSeqLike → Seq → Seq → GenSeq → GenSeqLike → Iterable → Iterable → GenIterable → Traversable → Traversable → GenTraversable → Parallelizable → TraversableOnce → GenTraversableOnce
-
def
shift(): A
The shift() method removes the first element from an array and returns that element.
The shift() method removes the first element from an array and returns that element. This method changes the length of the array.
MDN
- Implicit
- This member is added by an implicit conversion from WrappedArray[A] to Array[A] performed by method toJSArray in scala.scalajs.js.WrappedArray.
- Definition Classes
- Array
-
def
size: Int
- Definition Classes
- SeqLike → GenTraversableLike → TraversableOnce → GenTraversableOnce
-
def
sizeHint(coll: TraversableLike[_, _], delta: Int): Unit
- Definition Classes
- Builder
-
def
sizeHint(coll: TraversableLike[_, _]): Unit
- Definition Classes
- Builder
-
def
sizeHint(size: Int): Unit
- Definition Classes
- Builder
-
def
sizeHintBounded(size: Int, boundingColl: TraversableLike[_, _]): Unit
- Definition Classes
- Builder
-
def
sizeHintIfCheap: Int
- Attributes
- protected[collection]
- Definition Classes
- IndexedSeqLike → GenTraversableOnce
-
def
slice(from: Int, until: Int): WrappedArray[A]
- Definition Classes
- IndexedSeqOptimized → IterableLike → TraversableLike → GenTraversableLike
-
def
sliding(size: Int, step: Int): collection.Iterator[WrappedArray[A]]
- Definition Classes
- IterableLike
-
def
sliding(size: Int): collection.Iterator[WrappedArray[A]]
- Definition Classes
- IterableLike
-
def
sort(compareFn: Function2[A, A, Int] = ???): Array[A]
The sort() method sorts the elements of an array in place and returns the array.
The sort() method sorts the elements of an array in place and returns the array. The sort is not necessarily stable. The default sort order is lexicographic (not numeric).
If compareFunction is not supplied, elements are sorted by converting them to strings and comparing strings in lexicographic ("dictionary" or "telephone book," not numerical) order. For example, "80" comes before "9" in lexicographic order, but in a numeric sort 9 comes before 80.
MDN
- Implicit
- This member is added by an implicit conversion from WrappedArray[A] to Array[A] performed by method toJSArray in scala.scalajs.js.WrappedArray.
- Definition Classes
- Array
-
def
sortBy[B](f: (A) ⇒ B)(implicit ord: math.Ordering[B]): WrappedArray[A]
- Definition Classes
- SeqLike
-
def
sortWith(lt: (A, A) ⇒ Boolean): WrappedArray[A]
- Definition Classes
- SeqLike
-
def
sorted[B >: A](implicit ord: math.Ordering[B]): WrappedArray[A]
- Definition Classes
- SeqLike
-
def
span(p: (A) ⇒ Boolean): (WrappedArray[A], WrappedArray[A])
- Definition Classes
- IndexedSeqOptimized → TraversableLike → GenTraversableLike
-
def
splice(index: Int, deleteCount: Int, items: A*): Array[A]
Removes and adds new elements at a given index in the array.
Removes and adds new elements at a given index in the array.
This method first removes
deleteCount
elements starting from the indexindex
, then inserts the new elementsitems
at that index.If
index
is negative, it is treated as that number of elements starting from the end of the array.- index
Index where to start changes
- deleteCount
Number of elements to delete from index
- items
Elements to insert at index
- returns
An array of the elements that were deleted
- Implicit
- This member is added by an implicit conversion from WrappedArray[A] to Array[A] performed by method toJSArray in scala.scalajs.js.WrappedArray.
- Definition Classes
- Array
-
def
splitAt(n: Int): (WrappedArray[A], WrappedArray[A])
- Definition Classes
- IndexedSeqOptimized → TraversableLike → GenTraversableLike
-
def
startsWith[B](that: GenSeq[B], offset: Int): Boolean
- Definition Classes
- IndexedSeqOptimized → SeqLike → GenSeqLike
-
def
startsWith[B](that: GenSeq[B]): Boolean
- Definition Classes
- GenSeqLike
-
def
stringPrefix: String
- Definition Classes
- WrappedArray → BufferLike → TraversableLike → GenTraversableLike
- Annotations
- @inline()
-
def
sum[B >: A](implicit num: Numeric[B]): B
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
tail: WrappedArray[A]
- Definition Classes
- IndexedSeqOptimized → TraversableLike → GenTraversableLike
-
def
tails: collection.Iterator[WrappedArray[A]]
- Definition Classes
- TraversableLike
-
def
take(n: Int): WrappedArray[A]
- Definition Classes
- IndexedSeqOptimized → IterableLike → TraversableLike → GenTraversableLike
-
def
takeRight(n: Int): WrappedArray[A]
- Definition Classes
- IndexedSeqOptimized → IterableLike
-
def
takeWhile(p: (A) ⇒ Boolean): WrappedArray[A]
- Definition Classes
- IndexedSeqOptimized → IterableLike → TraversableLike → GenTraversableLike
-
def
thisCollection: collection.mutable.IndexedSeq[A]
- Attributes
- protected[this]
- Definition Classes
- IndexedSeqLike → IndexedSeqLike → SeqLike → IterableLike → TraversableLike
-
def
to[Col[_]](implicit cbf: CanBuildFrom[Nothing, A, Col[A]]): Col[A]
- Definition Classes
- TraversableLike → TraversableOnce → GenTraversableOnce
-
def
toArray[B >: A](implicit arg0: ClassTag[B]): scala.Array[B]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
toBuffer[A1 >: A]: Buffer[A1]
- Definition Classes
- IndexedSeqLike → TraversableOnce → GenTraversableOnce
-
def
toCollection(repr: WrappedArray[A]): collection.mutable.IndexedSeq[A]
- Attributes
- protected[this]
- Definition Classes
- IndexedSeqLike → IndexedSeqLike → SeqLike → IterableLike → TraversableLike
-
def
toIndexedSeq: collection.immutable.IndexedSeq[A]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
toIterable: collection.Iterable[A]
- Definition Classes
- IterableLike → TraversableOnce → GenTraversableOnce
-
def
toIterator: collection.Iterator[A]
- Definition Classes
- IterableLike → TraversableLike → GenTraversableOnce
- Annotations
- @deprecatedOverriding( ... , "2.11.0" )
-
def
toList: List[A]
- Definition Classes
- IndexedSeqOptimized → TraversableOnce → GenTraversableOnce
-
def
toLocaleString(): String
- Implicit
- This member is added by an implicit conversion from WrappedArray[A] to Array[A] performed by method toJSArray in scala.scalajs.js.WrappedArray.
- Definition Classes
- Object
-
def
toMap[T, U](implicit ev: <:<[A, (T, U)]): collection.immutable.Map[T, U]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
toParArray: ParArray[T]
- Implicit
- This member is added by an implicit conversion from WrappedArray[A] to CollectionsHaveToParArray[WrappedArray[A], T] performed by method CollectionsHaveToParArray in scala.collection.parallel. This conversion will take place only if an implicit value of type (WrappedArray[A]) ⇒ GenTraversableOnce[T] is in scope.
- Definition Classes
- CollectionsHaveToParArray
-
def
toSeq: collection.Seq[A]
- Definition Classes
- SeqLike → GenSeqLike → TraversableOnce → GenTraversableOnce
-
def
toSet[B >: A]: collection.immutable.Set[B]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
toStream: collection.immutable.Stream[A]
- Definition Classes
- IterableLike → TraversableLike → GenTraversableOnce
-
def
toString(): String
- Definition Classes
- SeqLike → TraversableLike → Any
-
def
toTraversable: collection.Traversable[A]
- Definition Classes
- TraversableLike → TraversableOnce → GenTraversableOnce
- Annotations
- @deprecatedOverriding( ... , "2.11.0" )
-
def
toVector: Vector[A]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
transform(f: (A) ⇒ A): WrappedArray.this.type
- Definition Classes
- SeqLike
-
def
transpose[B](implicit asTraversable: (A) ⇒ GenTraversableOnce[B]): WrappedArray[WrappedArray[B]]
- Definition Classes
- GenericTraversableTemplate
- Annotations
- @migration
- Migration
(Changed in version 2.9.0)
transpose
throws anIllegalArgumentException
if collections are not uniformly sized.
-
def
trimEnd(n: Int): Unit
- Definition Classes
- BufferLike
-
def
trimStart(n: Int): Unit
- Definition Classes
- BufferLike
-
def
union[B >: A, That](that: GenSeq[B])(implicit bf: CanBuildFrom[WrappedArray[A], B, That]): That
- Definition Classes
- SeqLike → GenSeqLike
-
def
unshift(items: A*): Int
The unshift() method adds one or more elements to the beginning of an array and returns the new length of the array.
The unshift() method adds one or more elements to the beginning of an array and returns the new length of the array.
MDN
- Implicit
- This member is added by an implicit conversion from WrappedArray[A] to Array[A] performed by method toJSArray in scala.scalajs.js.WrappedArray.
- Definition Classes
- Array
-
def
unzip[A1, A2](implicit asPair: (A) ⇒ (A1, A2)): (WrappedArray[A1], WrappedArray[A2])
- Definition Classes
- GenericTraversableTemplate
-
def
unzip3[A1, A2, A3](implicit asTriple: (A) ⇒ (A1, A2, A3)): (WrappedArray[A1], WrappedArray[A2], WrappedArray[A3])
- Definition Classes
- GenericTraversableTemplate
-
def
update(index: Int, elem: A): Unit
- Definition Classes
- WrappedArray → IndexedSeqLike → BufferLike → SeqLike
- Annotations
- @inline()
-
def
updated[B >: A, That](index: Int, elem: B)(implicit bf: CanBuildFrom[WrappedArray[A], B, That]): That
- Definition Classes
- SeqLike → GenSeqLike
-
def
valueOf(): scala.Any
- Implicit
- This member is added by an implicit conversion from WrappedArray[A] to Array[A] performed by method toJSArray in scala.scalajs.js.WrappedArray.
- Definition Classes
- Object
-
def
view(from: Int, until: Int): IndexedSeqView[A, WrappedArray[A]]
- Definition Classes
- IndexedSeqLike → SeqLike → IterableLike → TraversableLike
-
def
view: IndexedSeqView[A, WrappedArray[A]]
- Definition Classes
- IndexedSeqLike → SeqLike → IterableLike → TraversableLike
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
withFilter(p: (A) ⇒ Boolean): FilterMonadic[A, WrappedArray[A]]
- Definition Classes
- TraversableLike → FilterMonadic
-
def
zip[A1 >: A, B, That](that: GenIterable[B])(implicit bf: CanBuildFrom[WrappedArray[A], (A1, B), That]): That
- Definition Classes
- IndexedSeqOptimized → IterableLike → GenIterableLike
-
def
zipAll[B, A1 >: A, That](that: GenIterable[B], thisElem: A1, thatElem: B)(implicit bf: CanBuildFrom[WrappedArray[A], (A1, B), That]): That
- Definition Classes
- IterableLike → GenIterableLike
-
def
zipWithIndex[A1 >: A, That](implicit bf: CanBuildFrom[WrappedArray[A], (A1, Int), That]): That
- Definition Classes
- IndexedSeqOptimized → IterableLike → GenIterableLike
-
def
→[B](y: B): (WrappedArray[A], B)
- Implicit
- This member is added by an implicit conversion from WrappedArray[A] to ArrowAssoc[WrappedArray[A]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
Shadowed Implicit Value Members
-
def
apply(index: Int): A
Access the element at the given index.
Access the element at the given index.
- Implicit
- This member is added by an implicit conversion from WrappedArray[A] to Array[A] performed by method toJSArray in scala.scalajs.js.WrappedArray.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(wrappedArray: Array[A]).apply(index)
- Definition Classes
- Array
- Annotations
- @JSBracketAccess()
-
def
filter(p: (A) ⇒ Boolean): collection.TraversableOnce[A]
- Implicit
- This member is added by an implicit conversion from WrappedArray[A] to MonadOps[A] performed by method MonadOps in scala.collection.TraversableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(wrappedArray: MonadOps[A]).filter(p)
- Definition Classes
- MonadOps
-
def
flatMap[B](f: (A) ⇒ GenTraversableOnce[B]): collection.TraversableOnce[B]
- Implicit
- This member is added by an implicit conversion from WrappedArray[A] to MonadOps[A] performed by method MonadOps in scala.collection.TraversableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(wrappedArray: MonadOps[A]).flatMap(f)
- Definition Classes
- MonadOps
-
def
length: Int
Length of the array.
Length of the array.
- Implicit
- This member is added by an implicit conversion from WrappedArray[A] to Array[A] performed by method toJSArray in scala.scalajs.js.WrappedArray.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(wrappedArray: Array[A]).length
- Definition Classes
- Array
-
def
map[B](f: (A) ⇒ B): collection.TraversableOnce[B]
- Implicit
- This member is added by an implicit conversion from WrappedArray[A] to MonadOps[A] performed by method MonadOps in scala.collection.TraversableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(wrappedArray: MonadOps[A]).map(f)
- Definition Classes
- MonadOps
-
def
update(index: Int, value: A): Unit
Set the element at the given index.
Set the element at the given index.
- Implicit
- This member is added by an implicit conversion from WrappedArray[A] to Array[A] performed by method toJSArray in scala.scalajs.js.WrappedArray.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(wrappedArray: Array[A]).update(index, value)
- Definition Classes
- Array
- Annotations
- @JSBracketAccess()
-
def
withFilter(p: (A) ⇒ Boolean): collection.Iterator[A]
- Implicit
- This member is added by an implicit conversion from WrappedArray[A] to MonadOps[A] performed by method MonadOps in scala.collection.TraversableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(wrappedArray: MonadOps[A]).withFilter(p)
- Definition Classes
- MonadOps
Deprecated Value Members
-
def
/:[B](z: B)(op: (B, A) ⇒ B): B
- Definition Classes
- TraversableOnce → GenTraversableOnce
- Annotations
- @deprecated
- Deprecated
(Since version 2.12.10) Use foldLeft instead of /:
-
def
:\[B](z: B)(op: (A, B) ⇒ B): B
- Definition Classes
- TraversableOnce → GenTraversableOnce
- Annotations
- @deprecated
- Deprecated
(Since version 2.12.10) Use foldRight instead of :\
-
def
<<(cmd: Message[A]): Unit
- Definition Classes
- BufferLike → Scriptable
- Annotations
- @deprecated
- Deprecated
(Since version 2.11.0) scripting is deprecated
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from WrappedArray[A] to StringFormat[WrappedArray[A]] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.12.16) Use
formatString.format(value)
instead ofvalue.formatted(formatString)
, or use thef""
string interpolator. In Java 15 and later,formatted
resolves to the new method in String which has reversed parameters.