final
class
ArrayOps[A] extends ArrayLike[A, Array[A]] with Builder[A, Array[A]]
Instance Constructors
-
new
ArrayOps()
-
new
ArrayOps(array: Array[A])
Value Members
-
-
final
def
##(): Int
-
def
+(other: String): String
-
def
++[B >: A](that: Array[_ <: B]): Array[B]
-
-
-
-
-
def
+:[B >: A, That](elem: B)(implicit bf: CanBuildFrom[Array[A], B, That]): That
-
def
+=(elem: A): ArrayOps.this.type
-
def
+=(elem1: A, elem2: A, elems: A*): ArrayOps.this.type
-
def
->[B](y: B): (ArrayOps[A], B)
-
def
/:[B](z: B)(op: (B, A) ⇒ B): B
-
def
:+[B >: A, That](elem: B)(implicit bf: CanBuildFrom[Array[A], B, That]): That
-
def
:\[B](z: B)(op: (A, B) ⇒ B): B
-
-
-
-
def
addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder
-
def
aggregate[B](z: ⇒ B)(seqop: (B, A) ⇒ B, combop: (B, B) ⇒ B): B
-
def
apply(index: Int): A
-
final
def
asInstanceOf[T0]: T0
-
-
def
clear(): Unit
-
def
clone(): AnyRef
-
def
collect[B, That](pf: PartialFunction[A, B])(implicit bf: CanBuildFrom[Array[A], B, That]): That
-
-
-
def
contains[A1 >: A](elem: A1): Boolean
-
def
containsSlice[B](that: GenSeq[B]): Boolean
-
def
copyToArray[B >: A](xs: scala.Array[B], start: Int, len: Int): Unit
-
def
copyToArray[B >: A](xs: scala.Array[B]): Unit
-
def
copyToArray[B >: A](xs: scala.Array[B], start: Int): Unit
-
def
copyToBuffer[B >: A](dest: Buffer[B]): Unit
-
def
corresponds[B](that: GenSeq[B])(p: (A, B) ⇒ Boolean): Boolean
-
def
count(p: (A) ⇒ Boolean): Int
-
-
def
diff[B >: A](that: GenSeq[B]): Array[A]
-
def
distinct: Array[A]
-
def
drop(n: Int): Array[A]
-
def
dropRight(n: Int): Array[A]
-
def
dropWhile(p: (A) ⇒ Boolean): Array[A]
-
def
endsWith[B](that: GenSeq[B]): Boolean
-
-
-
-
-
-
-
-
def
filter(p: (A) ⇒ Boolean): Array[A]
-
def
filterNot(p: (A) ⇒ Boolean): Array[A]
-
def
finalize(): Unit
-
-
-
def
fold[A1 >: A](z: A1)(op: (A1, A1) ⇒ A1): A1
-
def
foldLeft[B](z: B)(op: (B, A) ⇒ B): B
-
def
foldRight[B](z: B)(op: (A, B) ⇒ B): B
-
-
def
foreach[U](f: (A) ⇒ U): Unit
-
def
formatted(fmtstr: String): String
-
final
def
getClass(): Class[_]
-
def
groupBy[K](f: (A) ⇒ K): Map[K, Array[A]]
-
-
def
hasDefiniteSize: Boolean
-
def
hashCode(): Int
-
def
head: A
-
def
headOption: Option[A]
-
def
indexOf[B >: A](elem: B, from: Int): Int
-
def
indexOf[B >: A](elem: B): Int
-
def
indexOfSlice[B >: A](that: GenSeq[B], from: Int): Int
-
def
indexOfSlice[B >: A](that: GenSeq[B]): Int
-
def
indexWhere(p: (A) ⇒ Boolean, from: Int): Int
-
def
indexWhere(p: (A) ⇒ Boolean): Int
-
-
def
init: Array[A]
-
-
def
intersect[B >: A](that: GenSeq[B]): Array[A]
-
def
isDefinedAt(idx: Int): Boolean
-
-
final
def
isInstanceOf[T0]: Boolean
-
final
def
isTraversableAgain: Boolean
-
-
def
last: A
-
def
lastIndexOf[B >: A](elem: B, end: Int): Int
-
def
lastIndexOf[B >: A](elem: B): Int
-
def
lastIndexOfSlice[B >: A](that: GenSeq[B], end: Int): Int
-
def
lastIndexOfSlice[B >: A](that: GenSeq[B]): Int
-
def
lastIndexWhere(p: (A) ⇒ Boolean, end: Int): Int
-
def
lastIndexWhere(p: (A) ⇒ Boolean): Int
-
def
lastOption: Option[A]
-
def
length: Int
-
def
lengthCompare(len: Int): Int
-
def
map[B, That](f: (A) ⇒ B)(implicit bf: CanBuildFrom[Array[A], B, That]): That
-
def
mapResult[NewTo](f: (Array[A]) ⇒ NewTo): Builder[A, NewTo]
-
def
max[B >: A](implicit cmp: Ordering[B]): A
-
def
maxBy[B](f: (A) ⇒ B)(implicit cmp: Ordering[B]): A
-
def
min[B >: A](implicit cmp: Ordering[B]): A
-
def
minBy[B](f: (A) ⇒ B)(implicit cmp: Ordering[B]): A
-
def
mkString: String
-
def
mkString(sep: String): String
-
def
mkString(start: String, sep: String, end: String): String
-
-
-
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
def
padTo[B >: A, That](len: Int, elem: B)(implicit bf: CanBuildFrom[Array[A], B, That]): That
-
-
def
parCombiner: Combiner[A, ParSeq[A]]
-
def
partition(p: (A) ⇒ Boolean): (Array[A], Array[A])
-
def
patch[B >: A, That](from: Int, patch: GenSeq[B], replaced: Int)(implicit bf: CanBuildFrom[Array[A], B, That]): That
-
-
def
prefixLength(p: (A) ⇒ Boolean): Int
-
def
product[B >: A](implicit num: Numeric[B]): B
-
def
reduce[A1 >: A](op: (A1, A1) ⇒ A1): A1
-
def
reduceLeft[B >: A](op: (B, A) ⇒ B): B
-
def
reduceLeftOption[B >: A](op: (B, A) ⇒ B): Option[B]
-
def
reduceOption[A1 >: A](op: (A1, A1) ⇒ A1): Option[A1]
-
def
reduceRight[B >: A](op: (A, B) ⇒ B): B
-
def
reduceRightOption[B >: A](op: (A, B) ⇒ B): Option[B]
-
def
repr: Array[A]
-
def
result(): Array[A]
-
def
reverse: Array[A]
-
-
def
reverseMap[B, That](f: (A) ⇒ B)(implicit bf: CanBuildFrom[Array[A], B, That]): That
-
def
reversed: List[A]
-
def
sameElements[B >: A](that: GenIterable[B]): Boolean
-
def
scan[B >: A, That](z: B)(op: (B, B) ⇒ B)(implicit cbf: CanBuildFrom[Array[A], B, That]): That
-
def
scanLeft[B, That](z: B)(op: (B, A) ⇒ B)(implicit bf: CanBuildFrom[Array[A], B, That]): That
-
def
scanRight[B, That](z: B)(op: (A, B) ⇒ B)(implicit bf: CanBuildFrom[Array[A], B, That]): That
-
def
segmentLength(p: (A) ⇒ Boolean, from: Int): Int
-
-
def
size: Int
-
-
-
def
sizeHint(size: Int): Unit
-
def
sizeHintBounded(size: Int, boundingColl: TraversableLike[_, _]): Unit
-
def
slice(from: Int, until: Int): Array[A]
-
-
-
def
sortBy[B](f: (A) ⇒ B)(implicit ord: math.Ordering[B]): Array[A]
-
def
sortWith(lt: (A, A) ⇒ Boolean): Array[A]
-
def
sorted[B >: A](implicit ord: math.Ordering[B]): Array[A]
-
-
def
splitAt(n: Int): (Array[A], Array[A])
-
def
startsWith[B](that: GenSeq[B], offset: Int): Boolean
-
def
startsWith[B](that: GenSeq[B]): Boolean
-
def
stringPrefix: String
-
def
sum[B >: A](implicit num: Numeric[B]): B
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
tail: Array[A]
-
-
def
take(n: Int): Array[A]
-
def
takeRight(n: Int): Array[A]
-
def
takeWhile(p: (A) ⇒ Boolean): Array[A]
-
-
def
to[Col[_]](implicit cbf: CanBuildFrom[Nothing, A, Col[A]]): Col[A]
-
def
toArray[B >: A](implicit arg0: ClassTag[B]): scala.Array[B]
-
def
toBuffer[A1 >: A]: Buffer[A1]
-
-
-
-
-
def
toList: List[A]
-
def
toMap[T, U](implicit ev: <:<[A, (T, U)]): Map[T, U]
-
def
toParArray: ParArray[T]
-
-
def
toSet[B >: A]: Set[B]
-
def
toStream: collection.immutable.Stream[A]
-
def
toString(): String
-
-
def
toVector: Vector[A]
-
def
union[B >: A, That](that: GenSeq[B])(implicit bf: CanBuildFrom[Array[A], B, That]): That
-
def
update(index: Int, element: A): Unit
-
def
updated[B >: A, That](index: Int, elem: B)(implicit bf: CanBuildFrom[Array[A], B, That]): That
-
def
view(from: Int, until: Int): IndexedSeqView[A, Array[A]]
-
def
view: IndexedSeqView[A, Array[A]]
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
-
def
zip[A1 >: A, B, That](that: GenIterable[B])(implicit bf: CanBuildFrom[Array[A], (A1, B), That]): That
-
def
zipAll[B, A1 >: A, That](that: GenIterable[B], thisElem: A1, thatElem: B)(implicit bf: CanBuildFrom[Array[A], (A1, B), That]): That
-
def
zipWithIndex[A1 >: A, That](implicit bf: CanBuildFrom[Array[A], (A1, Int), That]): That
-
def
→[B](y: B): (ArrayOps[A], B)
Shadowed Implicit Value Members
-
-
-
-
Inherited by implicit conversion CollectionsHaveToParArray from
ArrayOps[A] to CollectionsHaveToParArray[ArrayOps[A], T]
Inherited by implicit conversion MonadOps from
ArrayOps[A] to MonadOps[A]
Inherited by implicit conversion any2stringadd from
ArrayOps[A] to any2stringadd[ArrayOps[A]]
Inherited by implicit conversion StringFormat from
ArrayOps[A] to StringFormat[ArrayOps[A]]
Inherited by implicit conversion Ensuring from
ArrayOps[A] to Ensuring[ArrayOps[A]]
Inherited by implicit conversion ArrowAssoc from
ArrayOps[A] to ArrowAssoc[ArrayOps[A]]
Inherited by implicit conversion alternateImplicit from
ArrayOps[A] to ForceImplicitAmbiguity
Equivalent of scm.ArrayOps for js.Array