Packages

class ReArray[A] extends AbstractSeq[A] with IndexedSeq[A] with Serializable

The ReArray class provides an implementation of mutable, resizable/dynamic arrays. It is based on Scala's ResizableArray trait with additions and modifications. Preliminary testing has shown it to be faster than its competition: ArrayList and ArrayBuffer. ------------------------------------------------------------------------------------------- Added methods: 'shiftLeft', 'shiftLeft2', 'shiftRight', 'shiftRight2' and 'expand'. ------------------------------------------------------------------------------------------- Modified methods: 'reduceToSize': modified for performance reasons; instead of decreasing the size0 by 1 in a while loop and setting elements to null, it just decrements the size0 variable. FIX: possible minor memory leak 'companion': modified to return null as it is not required by our implementation; the ReArray object does not extend SeqFactory and thus 'newBuilder [A]' is absent. 'update': modified to catch the IndexOutOfBoundsException' and automatically expand the array. 'constructor': modified to take in the initial length and a normal Array; by doing this we can easily convert an object of type Array to a ReArray as the internal 'array' is changed from AnyRef to type A'. ------------------------------------------------------------------------------------------- Modified variables: 'array': the type is changed to A from AnyRef; this helps in assigning an Array [A] to a ReArray [A]; the initial value is changed to check if '_array' is null. 'size0': the initial value is changed to take care if '_array' is null. -------------------------------------------------------------------------------------------

Linear Supertypes
Serializable, Serializable, IndexedSeq[A], IndexedSeqLike[A, IndexedSeq[A]], IndexedSeq[A], IndexedSeqLike[A, IndexedSeq[A]], AbstractSeq[A], Seq[A], SeqLike[A, Seq[A]], Cloneable[Seq[A]], Cloneable, Cloneable, Iterable[A], Traversable[A], Mutable, AbstractSeq[A], Seq[A], SeqLike[A, IndexedSeq[A]], GenSeq[A], GenSeqLike[A, IndexedSeq[A]], PartialFunction[Int, A], (Int) ⇒ A, AbstractIterable[A], Iterable[A], IterableLike[A, IndexedSeq[A]], Equals, GenIterable[A], GenIterableLike[A, IndexedSeq[A]], AbstractTraversable[A], Traversable[A], GenTraversable[A], GenericTraversableTemplate[A, IndexedSeq], TraversableLike[A, IndexedSeq[A]], GenTraversableLike[A, IndexedSeq[A]], Parallelizable[A, ParSeq[A]], TraversableOnce[A], GenTraversableOnce[A], FilterMonadic[A, IndexedSeq[A]], HasNewBuilder[A, scala.collection.mutable.IndexedSeq[A] @scala.annotation.unchecked.uncheckedVariance], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ReArray
  2. Serializable
  3. Serializable
  4. IndexedSeq
  5. IndexedSeqLike
  6. IndexedSeq
  7. IndexedSeqLike
  8. AbstractSeq
  9. Seq
  10. SeqLike
  11. Cloneable
  12. Cloneable
  13. Cloneable
  14. Iterable
  15. Traversable
  16. Mutable
  17. AbstractSeq
  18. Seq
  19. SeqLike
  20. GenSeq
  21. GenSeqLike
  22. PartialFunction
  23. Function1
  24. AbstractIterable
  25. Iterable
  26. IterableLike
  27. Equals
  28. GenIterable
  29. GenIterableLike
  30. AbstractTraversable
  31. Traversable
  32. GenTraversable
  33. GenericTraversableTemplate
  34. TraversableLike
  35. GenTraversableLike
  36. Parallelizable
  37. TraversableOnce
  38. GenTraversableOnce
  39. FilterMonadic
  40. HasNewBuilder
  41. AnyRef
  42. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ReArray(_length: Int = 0, _array: Array[A] = null)(implicit arg0: ClassTag[A])

    _length

    the initial size of the array, defaults to zero

    _array

    the initial array, if any

Type Members

  1. class Elements extends AbstractIterator[A] with BufferedIterator[A] with Serializable
    Attributes
    protected
    Definition Classes
    IndexedSeqLike
    Annotations
    @SerialVersionUID()
  2. type Self = IndexedSeq[A]
    Attributes
    protected[this]
    Definition Classes
    TraversableLike
  3. class WithFilter extends FilterMonadic[A, Repr]
    Definition Classes
    TraversableLike

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def ++[B >: A, That](that: GenTraversableOnce[B])(implicit bf: CanBuildFrom[IndexedSeq[A], B, That]): That
    Definition Classes
    TraversableLike → GenTraversableLike
  4. def ++:[B >: A, That](that: Traversable[B])(implicit bf: CanBuildFrom[IndexedSeq[A], B, That]): That
    Definition Classes
    TraversableLike
  5. def ++:[B >: A, That](that: TraversableOnce[B])(implicit bf: CanBuildFrom[IndexedSeq[A], B, That]): That
    Definition Classes
    TraversableLike
  6. def +:[B >: A, That](elem: B)(implicit bf: CanBuildFrom[IndexedSeq[A], B, That]): That
    Definition Classes
    SeqLike → GenSeqLike
  7. def :+[B >: A, That](elem: B)(implicit bf: CanBuildFrom[IndexedSeq[A], B, That]): That
    Definition Classes
    SeqLike → GenSeqLike
  8. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def addString(b: StringBuilder): StringBuilder
    Definition Classes
    TraversableOnce
  10. def addString(b: StringBuilder, sep: String): StringBuilder
    Definition Classes
    TraversableOnce
  11. def addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder
    Definition Classes
    TraversableOnce
  12. def aggregate[B](z: ⇒ B)(seqop: (B, A) ⇒ B, combop: (B, B) ⇒ B): B
    Definition Classes
    TraversableOnce → GenTraversableOnce
  13. def andThen[C](k: (A) ⇒ C): PartialFunction[Int, C]
    Definition Classes
    PartialFunction → Function1
  14. def apply(): Array[A]

    Return the internal array of the ReArray.

  15. def apply(i: Int): A

    Return the element at the 'i'-th index position.

    Return the element at the 'i'-th index position.

    i

    the index position

    Definition Classes
    ReArray → SeqLike → GenSeqLike → Function1
  16. def applyOrElse[A1 <: Int, B1 >: A](x: A1, default: (A1) ⇒ B1): B1
    Definition Classes
    PartialFunction
  17. var array: Array[A]

    Set the internal array of ReArray.

    Set the internal array of ReArray.

    Attributes
    protected
  18. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  19. def canEqual(that: Any): Boolean
    Definition Classes
    IterableLike → Equals
  20. def clear(): Unit

    Clear the ReArray.

  21. def clone(): Seq[A]
    Definition Classes
    Cloneable → AnyRef
  22. def collect[B, That](pf: PartialFunction[A, B])(implicit bf: CanBuildFrom[IndexedSeq[A], B, That]): That
    Definition Classes
    TraversableLike → GenTraversableLike
  23. def collectFirst[B](pf: PartialFunction[A, B]): Option[B]
    Definition Classes
    TraversableOnce
  24. def combinations(n: Int): Iterator[IndexedSeq[A]]
    Definition Classes
    SeqLike
  25. def companion: GenericCompanion[IndexedSeq]
    Definition Classes
    IndexedSeq → IndexedSeq → Seq → Seq → GenSeq → Iterable → Iterable → GenIterable → Traversable → Traversable → GenTraversable → GenericTraversableTemplate
  26. def compose[A](g: (A) ⇒ Int): (A) ⇒ A
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  27. def contains[A1 >: A](elem: A1): Boolean
    Definition Classes
    SeqLike
  28. def containsSlice[B](that: GenSeq[B]): Boolean
    Definition Classes
    SeqLike
  29. def copy(m: Int, n: Int, len: Int): Unit

    Move parts of the array.

    Move parts of the array.

    m

    the source position

    n

    the destination position

    len

    the number of elements

    Attributes
    protected
  30. def copyToArray[B >: A](xs: Array[B], start: Int, len: Int): Unit

    Fill the given array 'xs' with at most 'len' elements of 'this' traversable starting at position 'start'.

    Fill the given array 'xs' with at most 'len' elements of 'this' traversable starting at position 'start'. Copying will stop once either the end of the current traversable is reached or 'len' elements have been copied or the end of the array is reached.

    xs

    the array to fill

    start

    starting index

    len

    number of elements to copy

    Definition Classes
    ReArray → IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  31. def copyToArray[B >: A](xs: Array[B]): Unit
    Definition Classes
    TraversableOnce → GenTraversableOnce
  32. def copyToArray[B >: A](xs: Array[B], start: Int): Unit
    Definition Classes
    TraversableOnce → GenTraversableOnce
  33. def copyToBuffer[B >: A](dest: Buffer[B]): Unit
    Definition Classes
    TraversableOnce
  34. def corresponds[B](that: GenSeq[B])(p: (A, B) ⇒ Boolean): Boolean
    Definition Classes
    SeqLike → GenSeqLike
  35. def count(p: (A) ⇒ Boolean): Int
    Definition Classes
    TraversableOnce → GenTraversableOnce
  36. def diff[B >: A](that: GenSeq[B]): IndexedSeq[A]
    Definition Classes
    SeqLike → GenSeqLike
  37. def distinct: IndexedSeq[A]
    Definition Classes
    SeqLike → GenSeqLike
  38. def drop(n: Int): IndexedSeq[A]
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  39. def dropRight(n: Int): IndexedSeq[A]
    Definition Classes
    IterableLike
  40. def dropWhile(p: (A) ⇒ Boolean): IndexedSeq[A]
    Definition Classes
    TraversableLike → GenTraversableLike
  41. def endsWith[B](that: GenSeq[B]): Boolean
    Definition Classes
    SeqLike → GenSeqLike
  42. def ensureSize(n: Int): Unit

    Ensure that the internal array has at least 'n' cells.

    Ensure that the internal array has at least 'n' cells.

    n

    the number of cells

    Attributes
    protected
  43. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  44. def equals(that: Any): Boolean
    Definition Classes
    GenSeqLike → Equals → Any
  45. def exists(p: (A) ⇒ Boolean): Boolean
    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  46. def expand(sz: Int): Unit

    Expand the array to make sure it has the required size.

    Expand the array to make sure it has the required size.

    sz

    the new size requirement of the array

  47. def filter(p: (A) ⇒ Boolean): IndexedSeq[A]
    Definition Classes
    TraversableLike → GenTraversableLike
  48. def filterNot(p: (A) ⇒ Boolean): IndexedSeq[A]
    Definition Classes
    TraversableLike → GenTraversableLike
  49. def find(p: (A) ⇒ Boolean): Option[A]
    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  50. def flatMap[B, That](f: (A) ⇒ GenTraversableOnce[B])(implicit bf: CanBuildFrom[IndexedSeq[A], B, That]): That
    Definition Classes
    TraversableLike → GenTraversableLike → FilterMonadic
  51. def flatten[B](implicit asTraversable: (A) ⇒ GenTraversableOnce[B]): IndexedSeq[B]
    Definition Classes
    GenericTraversableTemplate
  52. def fold[A1 >: A](z: A1)(op: (A1, A1) ⇒ A1): A1
    Definition Classes
    TraversableOnce → GenTraversableOnce
  53. def foldLeft[B](z: B)(op: (B, A) ⇒ B): B
    Definition Classes
    TraversableOnce → GenTraversableOnce
  54. def foldRight[B](z: B)(op: (A, B) ⇒ B): B
    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  55. def forall(p: (A) ⇒ Boolean): Boolean
    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  56. def foreach[U](f: (A) ⇒ U): Unit

    Iterate over the ReArray element by element.

    Iterate over the ReArray element by element.

    f

    the function to apply

    Definition Classes
    ReArray → IterableLike → GenericTraversableTemplate → TraversableLike → GenTraversableLike → TraversableOnce → GenTraversableOnce → FilterMonadic
  57. def genericBuilder[B]: Builder[B, IndexedSeq[B]]
    Definition Classes
    GenericTraversableTemplate
  58. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  59. def groupBy[K](f: (A) ⇒ K): Map[K, IndexedSeq[A]]
    Definition Classes
    TraversableLike → GenTraversableLike
  60. def grouped(size: Int): Iterator[IndexedSeq[A]]
    Definition Classes
    IterableLike
  61. def hasDefiniteSize: Boolean
    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  62. def hashCode(): Int
    Definition Classes
    IndexedSeqLike → GenSeqLike → Any
  63. def head: A
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  64. def headOption: Option[A]
    Definition Classes
    TraversableLike → GenTraversableLike
  65. def indexOf[B >: A](elem: B, from: Int): Int
    Definition Classes
    GenSeqLike
  66. def indexOf[B >: A](elem: B): Int
    Definition Classes
    GenSeqLike
  67. def indexOfSlice[B >: A](that: GenSeq[B], from: Int): Int
    Definition Classes
    SeqLike
  68. def indexOfSlice[B >: A](that: GenSeq[B]): Int
    Definition Classes
    SeqLike
  69. def indexWhere(p: (A) ⇒ Boolean, from: Int): Int
    Definition Classes
    SeqLike → GenSeqLike
  70. def indexWhere(p: (A) ⇒ Boolean): Int
    Definition Classes
    GenSeqLike
  71. def indices: Range
    Definition Classes
    SeqLike
  72. def init: IndexedSeq[A]
    Definition Classes
    TraversableLike → GenTraversableLike
  73. def initialSize: Int

    Return the initial size of the ReArray.

    Return the initial size of the ReArray.

    Attributes
    protected
  74. def inits: Iterator[IndexedSeq[A]]
    Definition Classes
    TraversableLike
  75. def intersect(b: ReArray[A]): ReArray[A]

    Intersect 'this' ReArray with ReArray 'b'.

    Intersect 'this' ReArray with ReArray 'b'.

    b

    the ReArray to intersect with

  76. def intersect[B >: A](that: GenSeq[B]): IndexedSeq[A]
    Definition Classes
    SeqLike → GenSeqLike
  77. def isDefinedAt(idx: Int): Boolean
    Definition Classes
    GenSeqLike
  78. def isEmpty: Boolean
    Definition Classes
    SeqLike → IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  79. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  80. final def isTraversableAgain: Boolean
    Definition Classes
    TraversableLike → GenTraversableLike → GenTraversableOnce
  81. def iterator: Iterator[A]
    Definition Classes
    IndexedSeqLike → IterableLike → GenIterableLike
  82. def last: A
    Definition Classes
    TraversableLike → GenTraversableLike
  83. def lastIndexOf[B >: A](elem: B, end: Int): Int
    Definition Classes
    GenSeqLike
  84. def lastIndexOf[B >: A](elem: B): Int
    Definition Classes
    GenSeqLike
  85. def lastIndexOfSlice[B >: A](that: GenSeq[B], end: Int): Int
    Definition Classes
    SeqLike
  86. def lastIndexOfSlice[B >: A](that: GenSeq[B]): Int
    Definition Classes
    SeqLike
  87. def lastIndexWhere(p: (A) ⇒ Boolean, end: Int): Int
    Definition Classes
    SeqLike → GenSeqLike
  88. def lastIndexWhere(p: (A) ⇒ Boolean): Int
    Definition Classes
    GenSeqLike
  89. def lastOption: Option[A]
    Definition Classes
    TraversableLike → GenTraversableLike
  90. def length: Int

    Return the length of 'this' ReArray.

    Return the length of 'this' ReArray.

    Definition Classes
    ReArray → SeqLike → GenSeqLike
  91. def lengthCompare(len: Int): Int
    Definition Classes
    SeqLike
  92. def lift: (Int) ⇒ Option[A]
    Definition Classes
    PartialFunction
  93. def map[B, That](f: (A) ⇒ B)(implicit bf: CanBuildFrom[IndexedSeq[A], B, That]): That
    Definition Classes
    TraversableLike → GenTraversableLike → FilterMonadic
  94. def max[B >: A](implicit cmp: Ordering[B]): A
    Definition Classes
    TraversableOnce → GenTraversableOnce
  95. def maxBy[B](f: (A) ⇒ B)(implicit cmp: Ordering[B]): A
    Definition Classes
    TraversableOnce → GenTraversableOnce
  96. def min[B >: A](implicit cmp: Ordering[B]): A
    Definition Classes
    TraversableOnce → GenTraversableOnce
  97. def minBy[B](f: (A) ⇒ B)(implicit cmp: Ordering[B]): A
    Definition Classes
    TraversableOnce → GenTraversableOnce
  98. def mkString: String
    Definition Classes
    TraversableOnce → GenTraversableOnce
  99. def mkString(sep: String): String
    Definition Classes
    TraversableOnce → GenTraversableOnce
  100. def mkString(start: String, sep: String, end: String): String
    Definition Classes
    TraversableOnce → GenTraversableOnce
  101. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  102. def newBuilder: Builder[A, IndexedSeq[A]]
    Attributes
    protected[this]
    Definition Classes
    GenericTraversableTemplate → HasNewBuilder
  103. def nonEmpty: Boolean
    Definition Classes
    TraversableOnce → GenTraversableOnce
  104. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  105. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  106. def orElse[A1 <: Int, B1 >: A](that: PartialFunction[A1, B1]): PartialFunction[A1, B1]
    Definition Classes
    PartialFunction
  107. def padTo[B >: A, That](len: Int, elem: B)(implicit bf: CanBuildFrom[IndexedSeq[A], B, That]): That
    Definition Classes
    SeqLike → GenSeqLike
  108. def par: ParSeq[A]
    Definition Classes
    Parallelizable
  109. def parCombiner: Combiner[A, ParSeq[A]]
    Attributes
    protected[this]
    Definition Classes
    SeqLike → SeqLike → TraversableLike → Parallelizable
  110. def partition(p: (A) ⇒ Boolean): (IndexedSeq[A], IndexedSeq[A])
    Definition Classes
    TraversableLike → GenTraversableLike
  111. def patch[B >: A, That](from: Int, patch: GenSeq[B], replaced: Int)(implicit bf: CanBuildFrom[IndexedSeq[A], B, That]): That
    Definition Classes
    SeqLike → GenSeqLike
  112. def permutations: Iterator[IndexedSeq[A]]
    Definition Classes
    SeqLike
  113. def prefixLength(p: (A) ⇒ Boolean): Int
    Definition Classes
    GenSeqLike
  114. def product[B >: A](implicit num: Numeric[B]): B
    Definition Classes
    TraversableOnce → GenTraversableOnce
  115. def reduce[A1 >: A](op: (A1, A1) ⇒ A1): A1
    Definition Classes
    TraversableOnce → GenTraversableOnce
  116. def reduceLeft[B >: A](op: (B, A) ⇒ B): B
    Definition Classes
    TraversableOnce
  117. def reduceLeftOption[B >: A](op: (B, A) ⇒ B): Option[B]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  118. def reduceOption[A1 >: A](op: (A1, A1) ⇒ A1): Option[A1]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  119. def reduceRight[B >: A](op: (A, B) ⇒ B): B
    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  120. def reduceRightOption[B >: A](op: (A, B) ⇒ B): Option[B]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  121. def reduceToSize(sz: Int): Unit

    Remove elements of this array at indices after 'sz'.

    Remove elements of this array at indices after 'sz'.

    sz

    the index position

  122. def repr: IndexedSeq[A]
    Definition Classes
    TraversableLike → GenTraversableLike
  123. def reverse: IndexedSeq[A]
    Definition Classes
    SeqLike → GenSeqLike
  124. def reverseIterator: Iterator[A]
    Definition Classes
    SeqLike
  125. def reverseMap[B, That](f: (A) ⇒ B)(implicit bf: CanBuildFrom[IndexedSeq[A], B, That]): That
    Definition Classes
    SeqLike → GenSeqLike
  126. def reversed: List[A]
    Attributes
    protected[this]
    Definition Classes
    TraversableOnce
  127. def runWith[U](action: (A) ⇒ U): (Int) ⇒ Boolean
    Definition Classes
    PartialFunction
  128. def sameElements[B >: A](that: GenIterable[B]): Boolean
    Definition Classes
    IterableLike → GenIterableLike
  129. def scan[B >: A, That](z: B)(op: (B, B) ⇒ B)(implicit cbf: CanBuildFrom[IndexedSeq[A], B, That]): That
    Definition Classes
    TraversableLike → GenTraversableLike
  130. def scanLeft[B, That](z: B)(op: (B, A) ⇒ B)(implicit bf: CanBuildFrom[IndexedSeq[A], B, That]): That
    Definition Classes
    TraversableLike → GenTraversableLike
  131. def scanRight[B, That](z: B)(op: (A, B) ⇒ B)(implicit bf: CanBuildFrom[IndexedSeq[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.

  132. def segmentLength(p: (A) ⇒ Boolean, from: Int): Int
    Definition Classes
    SeqLike → GenSeqLike
  133. def seq: IndexedSeq[A]
    Definition Classes
    IndexedSeq → IndexedSeq → IndexedSeqLike → Seq → Seq → GenSeq → GenSeqLike → Iterable → Iterable → GenIterable → Traversable → Traversable → GenTraversable → Parallelizable → TraversableOnce → GenTraversableOnce
  134. def shiftLeft(i: Int): Unit

    Remove one element at the specified index position and shift the rest of the elements in the array one position to the left.

    Remove one element at the specified index position and shift the rest of the elements in the array one position to the left.

    i

    the index of the element to be removed

  135. def shiftLeft2(i: Int): Unit

    Remove two elements starting at the specified index position and shift the rest of the elements in the array two positions to the left.

    Remove two elements starting at the specified index position and shift the rest of the elements in the array two positions to the left.

    i

    the index of the element to be removed

  136. def shiftRight(i: Int): Unit

    Shift the elements by one position to the right starting at the index 'i'.

    Shift the elements by one position to the right starting at the index 'i'. This will also automatically expand the array. The value will be repeated at 'i' and 'i+1' positions.

    i

    the index position to start the shift

  137. def shiftRight2(i: Int): Unit

    Shift the elements by two positions to the right starting at the index 'i'.

    Shift the elements by two positions to the right starting at the index 'i'. This will also automatically expand the array. The value will be repeated at 'i', 'i+1' and 'i+2' positions.

    i

    the index position to start the shift

  138. def size: Int
    Definition Classes
    SeqLike → GenTraversableLike → TraversableOnce → GenTraversableOnce
  139. var size0: Int

    Set the size of ReArray.

    Set the size of ReArray.

    Attributes
    protected
  140. def sizeHintIfCheap: Int
    Attributes
    protected[collection]
    Definition Classes
    IndexedSeqLike → GenTraversableOnce
  141. def slice(from: Int, until: Int): IndexedSeq[A]
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  142. def sliding(size: Int, step: Int): Iterator[IndexedSeq[A]]
    Definition Classes
    IterableLike
  143. def sliding(size: Int): Iterator[IndexedSeq[A]]
    Definition Classes
    IterableLike
  144. def sortBy[B](f: (A) ⇒ B)(implicit ord: Ordering[B]): IndexedSeq[A]
    Definition Classes
    SeqLike
  145. def sortWith(lt: (A, A) ⇒ Boolean): IndexedSeq[A]
    Definition Classes
    SeqLike
  146. def sorted[B >: A](implicit ord: Ordering[B]): IndexedSeq[A]
    Definition Classes
    SeqLike
  147. def span(p: (A) ⇒ Boolean): (IndexedSeq[A], IndexedSeq[A])
    Definition Classes
    TraversableLike → GenTraversableLike
  148. def splitAt(n: Int): (IndexedSeq[A], IndexedSeq[A])
    Definition Classes
    TraversableLike → GenTraversableLike
  149. def startsWith[B](that: GenSeq[B], offset: Int): Boolean
    Definition Classes
    SeqLike → GenSeqLike
  150. def startsWith[B](that: GenSeq[B]): Boolean
    Definition Classes
    GenSeqLike
  151. def stringPrefix: String
    Definition Classes
    TraversableLike → GenTraversableLike
  152. def sum[B >: A](implicit num: Numeric[B]): B
    Definition Classes
    TraversableOnce → GenTraversableOnce
  153. def swap(i: Int, j: Int): Unit

    Swap two elements of this array.

    Swap two elements of this array.

    i

    the first element

    j

    the second element

    Attributes
    protected
  154. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  155. def tail: IndexedSeq[A]
    Definition Classes
    TraversableLike → GenTraversableLike
  156. def tails: Iterator[IndexedSeq[A]]
    Definition Classes
    TraversableLike
  157. def take(n: Int): IndexedSeq[A]
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  158. def takeRight(n: Int): IndexedSeq[A]
    Definition Classes
    IterableLike
  159. def takeWhile(p: (A) ⇒ Boolean): IndexedSeq[A]
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  160. def thisCollection: IndexedSeq[A]
    Attributes
    protected[this]
    Definition Classes
    IndexedSeqLike → IndexedSeqLike → SeqLike → IterableLike → TraversableLike
  161. def to[Col[_]](implicit cbf: CanBuildFrom[Nothing, A, Col[A]]): Col[A]
    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  162. def toArray[B >: A](implicit arg0: ClassTag[B]): Array[B]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  163. def toBuffer[A1 >: A]: Buffer[A1]
    Definition Classes
    IndexedSeqLike → TraversableOnce → GenTraversableOnce
  164. def toCollection(repr: IndexedSeq[A]): IndexedSeq[A]
    Attributes
    protected[this]
    Definition Classes
    IndexedSeqLike → IndexedSeqLike → SeqLike → IterableLike → TraversableLike
  165. def toIndexedSeq: IndexedSeq[A]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  166. def toIterable: Iterable[A]
    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  167. def toIterator: Iterator[A]
    Definition Classes
    IterableLike → TraversableLike → GenTraversableOnce
    Annotations
    @deprecatedOverriding( ... , "2.11.0" )
  168. def toList: List[A]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  169. def toMap[T, U](implicit ev: <:<[A, (T, U)]): Map[T, U]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  170. def toSeq: Seq[A]
    Definition Classes
    SeqLike → GenSeqLike → TraversableOnce → GenTraversableOnce
  171. def toSet[B >: A]: Set[B]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  172. def toStream: Stream[A]
    Definition Classes
    IterableLike → TraversableLike → GenTraversableOnce
  173. def toString(): String

    Convert 'this' ReArray to a string.

    Convert 'this' ReArray to a string.

    Definition Classes
    ReArray → SeqLike → Function1 → TraversableLike → AnyRef → Any
  174. def toTraversable: Traversable[A]
    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
    Annotations
    @deprecatedOverriding( ... , "2.11.0" )
  175. def toVector: Vector[A]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  176. def transform(f: (A) ⇒ A): ReArray.this.type
    Definition Classes
    SeqLike
  177. def transpose[B](implicit asTraversable: (A) ⇒ GenTraversableOnce[B]): IndexedSeq[IndexedSeq[B]]
    Definition Classes
    GenericTraversableTemplate
    Annotations
    @migration
    Migration

    (Changed in version 2.9.0) transpose throws an IllegalArgumentException if collections are not uniformly sized.

  178. def union[B >: A, That](that: GenSeq[B])(implicit bf: CanBuildFrom[IndexedSeq[A], B, That]): That
    Definition Classes
    SeqLike → GenSeqLike
  179. def unzip[A1, A2](implicit asPair: (A) ⇒ (A1, A2)): (IndexedSeq[A1], IndexedSeq[A2])
    Definition Classes
    GenericTraversableTemplate
  180. def unzip3[A1, A2, A3](implicit asTriple: (A) ⇒ (A1, A2, A3)): (IndexedSeq[A1], IndexedSeq[A2], IndexedSeq[A3])
    Definition Classes
    GenericTraversableTemplate
  181. def update(idx: Int, elem: A): Unit

    Set 'this' array's element at the 'i'- th index position.

    Set 'this' array's element at the 'i'- th index position.

    idx

    the given index

    elem

    the value to assign

    Definition Classes
    ReArray → IndexedSeqLike → SeqLike
  182. def updated[B >: A, That](index: Int, elem: B)(implicit bf: CanBuildFrom[IndexedSeq[A], B, That]): That
    Definition Classes
    SeqLike → GenSeqLike
  183. def view(from: Int, until: Int): IndexedSeqView[A, IndexedSeq[A]]
    Definition Classes
    IndexedSeqLike → SeqLike → IterableLike → TraversableLike
  184. def view: IndexedSeqView[A, IndexedSeq[A]]
    Definition Classes
    IndexedSeqLike → SeqLike → IterableLike → TraversableLike
  185. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  186. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  187. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  188. def withFilter(p: (A) ⇒ Boolean): FilterMonadic[A, IndexedSeq[A]]
    Definition Classes
    TraversableLike → FilterMonadic
  189. def zip[A1 >: A, B, That](that: GenIterable[B])(implicit bf: CanBuildFrom[IndexedSeq[A], (A1, B), That]): That
    Definition Classes
    IterableLike → GenIterableLike
  190. def zipAll[B, A1 >: A, That](that: GenIterable[B], thisElem: A1, thatElem: B)(implicit bf: CanBuildFrom[IndexedSeq[A], (A1, B), That]): That
    Definition Classes
    IterableLike → GenIterableLike
  191. def zipWithIndex[A1 >: A, That](implicit bf: CanBuildFrom[IndexedSeq[A], (A1, Int), That]): That
    Definition Classes
    IterableLike → GenIterableLike

Deprecated Value Members

  1. 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 /:

  2. 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 :\

  3. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from Serializable

Inherited from IndexedSeq[A]

Inherited from IndexedSeqLike[A, IndexedSeq[A]]

Inherited from IndexedSeq[A]

Inherited from IndexedSeqLike[A, IndexedSeq[A]]

Inherited from AbstractSeq[A]

Inherited from Seq[A]

Inherited from SeqLike[A, Seq[A]]

Inherited from Cloneable[Seq[A]]

Inherited from Cloneable

Inherited from Cloneable

Inherited from Iterable[A]

Inherited from Traversable[A]

Inherited from Mutable

Inherited from AbstractSeq[A]

Inherited from Seq[A]

Inherited from SeqLike[A, IndexedSeq[A]]

Inherited from GenSeq[A]

Inherited from GenSeqLike[A, IndexedSeq[A]]

Inherited from PartialFunction[Int, A]

Inherited from (Int) ⇒ A

Inherited from AbstractIterable[A]

Inherited from Iterable[A]

Inherited from IterableLike[A, IndexedSeq[A]]

Inherited from Equals

Inherited from GenIterable[A]

Inherited from GenIterableLike[A, IndexedSeq[A]]

Inherited from AbstractTraversable[A]

Inherited from Traversable[A]

Inherited from GenTraversable[A]

Inherited from GenericTraversableTemplate[A, IndexedSeq]

Inherited from TraversableLike[A, IndexedSeq[A]]

Inherited from GenTraversableLike[A, IndexedSeq[A]]

Inherited from Parallelizable[A, ParSeq[A]]

Inherited from TraversableOnce[A]

Inherited from GenTraversableOnce[A]

Inherited from FilterMonadic[A, IndexedSeq[A]]

Inherited from HasNewBuilder[A, scala.collection.mutable.IndexedSeq[A] @scala.annotation.unchecked.uncheckedVariance]

Inherited from AnyRef

Inherited from Any

Ungrouped