Packages

abstract class AtomicArray[T] extends collection.mutable.IndexedSeq[T] with ArrayLike[T, AtomicArray[T]]

AtomicArray implements a fixed-length indexed sequence where reads and writes have volatile semantics. In addition, it adds an atomic swap operation (swap) and an atomic compare-and-swap (compareAndSet). The collection is backed by one of the Java atomic array classes, with the best match chosen at construction time using a manifest.

Instances of AtomicArray[T] are backed by AtomicIntegerArray if T is a primitive of at most 32 bits (smaller values are padded rather than packed). AtomicArray[Long] and AtomicArray[Double] are backed by AtomicLongArray. All other instances of AtomicArray[T] are backed by AtomicReferenceArray (except for AtomicArray[Unit]). Floats and doubles are stored using their raw bit representation.

This class is used in the implementation of the reference STM implementation, but it is standalone and may be generally useful.

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

Instance Constructors

  1. new AtomicArray()

Type Members

  1. class WithFilter extends FilterMonadic[A, Repr]
    Definition Classes
    TraversableLike

Abstract Value Members

  1. abstract def apply(index: Int): T

    The element at given index, with volatile read semantics

    The element at given index, with volatile read semantics

    Definition Classes
    AtomicArray → SeqLike → GenSeqLike → Function1
  2. abstract def compareAndSet(index: Int, expected: T, elem: T): Boolean

    Returns true iff previous value was expected, elem installed

  3. abstract def length: Int

    The length of the array

    The length of the array

    Definition Classes
    AtomicArray → SeqLike → GenSeqLike
  4. abstract def swap(index: Int, elem: T): T

    Atomic swap of the element at index

  5. abstract def update(index: Int, elem: T): Unit

    Update element at given index, with volatile write semantics

    Update element at given index, with volatile write semantics

    Definition Classes
    AtomicArray → IndexedSeqLike → SeqLike

Concrete Value Members

  1. def ++[B >: T, That](that: GenTraversableOnce[B])(implicit bf: CanBuildFrom[AtomicArray[T], B, That]): That
    Definition Classes
    TraversableLike → GenTraversableLike
  2. def ++:[B >: T, That](that: collection.Traversable[B])(implicit bf: CanBuildFrom[AtomicArray[T], B, That]): That
    Definition Classes
    TraversableLike
  3. def ++:[B >: T, That](that: collection.TraversableOnce[B])(implicit bf: CanBuildFrom[AtomicArray[T], B, That]): That
    Definition Classes
    TraversableLike
  4. def +:[B >: T, That](elem: B)(implicit bf: CanBuildFrom[AtomicArray[T], B, That]): That
    Definition Classes
    SeqLike → GenSeqLike
  5. def /:[B](z: B)(op: (B, T) ⇒ B): B
    Definition Classes
    TraversableOnce → GenTraversableOnce
  6. def :+[B >: T, That](elem: B)(implicit bf: CanBuildFrom[AtomicArray[T], B, That]): That
    Definition Classes
    SeqLike → GenSeqLike
  7. def :\[B](z: B)(op: (T, B) ⇒ B): B
    Definition Classes
    TraversableOnce → GenTraversableOnce
  8. def addString(b: StringBuilder): StringBuilder
    Definition Classes
    TraversableOnce
  9. def addString(b: StringBuilder, sep: String): StringBuilder
    Definition Classes
    TraversableOnce
  10. def addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder
    Definition Classes
    TraversableOnce
  11. def aggregate[B](z: ⇒ B)(seqop: (B, T) ⇒ B, combop: (B, B) ⇒ B): B
    Definition Classes
    TraversableOnce → GenTraversableOnce
  12. def andThen[C](k: (T) ⇒ C): PartialFunction[Int, C]
    Definition Classes
    PartialFunction → Function1
  13. def applyOrElse[A1 <: Int, B1 >: T](x: A1, default: (A1) ⇒ B1): B1
    Definition Classes
    PartialFunction
  14. def canEqual(that: Any): Boolean
    Definition Classes
    IterableLike → Equals
  15. def clone(): AtomicArray[T]

    Clones this object, including the underlying Array.

    Clones this object, including the underlying Array.

    Definition Classes
    AtomicArray → Cloneable → AnyRef
  16. def collect[B, That](pf: PartialFunction[T, B])(implicit bf: CanBuildFrom[AtomicArray[T], B, That]): That
    Definition Classes
    TraversableLike → GenTraversableLike
  17. def collectFirst[B](pf: PartialFunction[T, B]): Option[B]
    Definition Classes
    TraversableOnce
  18. def combinations(n: Int): collection.Iterator[AtomicArray[T]]
    Definition Classes
    SeqLike
  19. def companion: GenericCompanion[collection.mutable.IndexedSeq]
    Definition Classes
    IndexedSeq → IndexedSeq → Seq → Seq → GenSeq → Iterable → Iterable → GenIterable → Traversable → Traversable → GenTraversable → GenericTraversableTemplate
  20. def compose[A](g: (A) ⇒ Int): (A) ⇒ T
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  21. def contains[A1 >: T](elem: A1): Boolean
    Definition Classes
    SeqLike
  22. def containsSlice[B](that: GenSeq[B]): Boolean
    Definition Classes
    SeqLike
  23. def copyToArray[B >: T](xs: Array[B], start: Int, len: Int): Unit
    Definition Classes
    IndexedSeqOptimized → IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  24. def copyToArray[B >: T](xs: Array[B]): Unit
    Definition Classes
    TraversableOnce → GenTraversableOnce
  25. def copyToArray[B >: T](xs: Array[B], start: Int): Unit
    Definition Classes
    TraversableOnce → GenTraversableOnce
  26. def copyToBuffer[B >: T](dest: Buffer[B]): Unit
    Definition Classes
    TraversableOnce
  27. def corresponds[B](that: GenSeq[B])(p: (T, B) ⇒ Boolean): Boolean
    Definition Classes
    SeqLike → GenSeqLike
  28. def count(p: (T) ⇒ Boolean): Int
    Definition Classes
    TraversableOnce → GenTraversableOnce
  29. def deep: collection.IndexedSeq[Any]
    Definition Classes
    ArrayLike
  30. def diff[B >: T](that: GenSeq[B]): AtomicArray[T]
    Definition Classes
    SeqLike → GenSeqLike
  31. def distinct: AtomicArray[T]
    Definition Classes
    SeqLike → GenSeqLike
  32. def drop(n: Int): AtomicArray[T]
    Definition Classes
    IndexedSeqOptimized → IterableLike → TraversableLike → GenTraversableLike
  33. def dropRight(n: Int): AtomicArray[T]
    Definition Classes
    IndexedSeqOptimized → IterableLike
  34. def dropWhile(p: (T) ⇒ Boolean): AtomicArray[T]
    Definition Classes
    IndexedSeqOptimized → TraversableLike → GenTraversableLike
  35. def endsWith[B](that: GenSeq[B]): Boolean
    Definition Classes
    IndexedSeqOptimized → SeqLike → GenSeqLike
  36. def equals(that: Any): Boolean
    Definition Classes
    GenSeqLike → Equals → Any
  37. def exists(p: (T) ⇒ Boolean): Boolean
    Definition Classes
    IndexedSeqOptimized → IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  38. def filter(p: (T) ⇒ Boolean): AtomicArray[T]
    Definition Classes
    TraversableLike → GenTraversableLike
  39. def filterNot(p: (T) ⇒ Boolean): AtomicArray[T]
    Definition Classes
    TraversableLike → GenTraversableLike
  40. def find(p: (T) ⇒ Boolean): Option[T]
    Definition Classes
    IndexedSeqOptimized → IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  41. def flatMap[B, That](f: (T) ⇒ GenTraversableOnce[B])(implicit bf: CanBuildFrom[AtomicArray[T], B, That]): That
    Definition Classes
    TraversableLike → GenTraversableLike → FilterMonadic
  42. def flatten[B](implicit asTraversable: (T) ⇒ GenTraversableOnce[B]): collection.mutable.IndexedSeq[B]
    Definition Classes
    GenericTraversableTemplate
  43. def fold[A1 >: T](z: A1)(op: (A1, A1) ⇒ A1): A1
    Definition Classes
    TraversableOnce → GenTraversableOnce
  44. def foldLeft[B](z: B)(op: (B, T) ⇒ B): B
    Definition Classes
    IndexedSeqOptimized → TraversableOnce → GenTraversableOnce
  45. def foldRight[B](z: B)(op: (T, B) ⇒ B): B
    Definition Classes
    IndexedSeqOptimized → IterableLike → TraversableOnce → GenTraversableOnce
  46. def forall(p: (T) ⇒ Boolean): Boolean
    Definition Classes
    IndexedSeqOptimized → IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  47. def foreach[U](f: (T) ⇒ U): Unit
    Definition Classes
    IndexedSeqOptimized → IterableLike → TraversableLike → GenTraversableLike → TraversableOnce → GenTraversableOnce → FilterMonadic
  48. def genericBuilder[B]: Builder[B, collection.mutable.IndexedSeq[B]]
    Definition Classes
    GenericTraversableTemplate
  49. final def getAndTransform(index: Int)(f: (T) ⇒ T): T

    Retries compareAndSet until success, using f, then returns the old value

    Retries compareAndSet until success, using f, then returns the old value

    Annotations
    @tailrec()
  50. def groupBy[K](f: (T) ⇒ K): Map[K, AtomicArray[T]]
    Definition Classes
    TraversableLike → GenTraversableLike
  51. def grouped(size: Int): collection.Iterator[AtomicArray[T]]
    Definition Classes
    IterableLike
  52. def hasDefiniteSize: Boolean
    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  53. def hashCode(): Int
    Definition Classes
    IndexedSeqLike → GenSeqLike → Any
  54. def head: T
    Definition Classes
    IndexedSeqOptimized → IterableLike → TraversableLike → GenTraversableLike
  55. def headOption: Option[T]
    Definition Classes
    TraversableLike → GenTraversableLike
  56. def indexOf[B >: T](elem: B, from: Int): Int
    Definition Classes
    GenSeqLike
  57. def indexOf[B >: T](elem: B): Int
    Definition Classes
    GenSeqLike
  58. def indexOfSlice[B >: T](that: GenSeq[B], from: Int): Int
    Definition Classes
    SeqLike
  59. def indexOfSlice[B >: T](that: GenSeq[B]): Int
    Definition Classes
    SeqLike
  60. def indexWhere(p: (T) ⇒ Boolean, from: Int): Int
    Definition Classes
    IndexedSeqOptimized → SeqLike → GenSeqLike
  61. def indexWhere(p: (T) ⇒ Boolean): Int
    Definition Classes
    GenSeqLike
  62. def indices: collection.immutable.Range
    Definition Classes
    SeqLike
  63. def init: AtomicArray[T]
    Definition Classes
    IndexedSeqOptimized → TraversableLike → GenTraversableLike
  64. def inits: collection.Iterator[AtomicArray[T]]
    Definition Classes
    TraversableLike
  65. def intersect[B >: T](that: GenSeq[B]): AtomicArray[T]
    Definition Classes
    SeqLike → GenSeqLike
  66. def isDefinedAt(idx: Int): Boolean
    Definition Classes
    GenSeqLike
  67. def isEmpty: Boolean
    Definition Classes
    IndexedSeqOptimized → SeqLike → IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  68. final def isTraversableAgain: Boolean
    Definition Classes
    TraversableLike → GenTraversableLike → GenTraversableOnce
  69. def iterator: collection.Iterator[T]
    Definition Classes
    IndexedSeqLike → IterableLike → GenIterableLike
  70. def last: T
    Definition Classes
    IndexedSeqOptimized → TraversableLike → GenTraversableLike
  71. def lastIndexOf[B >: T](elem: B, end: Int): Int
    Definition Classes
    GenSeqLike
  72. def lastIndexOf[B >: T](elem: B): Int
    Definition Classes
    GenSeqLike
  73. def lastIndexOfSlice[B >: T](that: GenSeq[B], end: Int): Int
    Definition Classes
    SeqLike
  74. def lastIndexOfSlice[B >: T](that: GenSeq[B]): Int
    Definition Classes
    SeqLike
  75. def lastIndexWhere(p: (T) ⇒ Boolean, end: Int): Int
    Definition Classes
    IndexedSeqOptimized → SeqLike → GenSeqLike
  76. def lastIndexWhere(p: (T) ⇒ Boolean): Int
    Definition Classes
    GenSeqLike
  77. def lastOption: Option[T]
    Definition Classes
    TraversableLike → GenTraversableLike
  78. def lengthCompare(len: Int): Int
    Definition Classes
    IndexedSeqOptimized → SeqLike
  79. def lift: (Int) ⇒ Option[T]
    Definition Classes
    PartialFunction
  80. def map[B, That](f: (T) ⇒ B)(implicit bf: CanBuildFrom[AtomicArray[T], B, That]): That
    Definition Classes
    TraversableLike → GenTraversableLike → FilterMonadic
  81. def max[B >: T](implicit cmp: Ordering[B]): T
    Definition Classes
    TraversableOnce → GenTraversableOnce
  82. def maxBy[B](f: (T) ⇒ B)(implicit cmp: Ordering[B]): T
    Definition Classes
    TraversableOnce → GenTraversableOnce
  83. def min[B >: T](implicit cmp: Ordering[B]): T
    Definition Classes
    TraversableOnce → GenTraversableOnce
  84. def minBy[B](f: (T) ⇒ B)(implicit cmp: Ordering[B]): T
    Definition Classes
    TraversableOnce → GenTraversableOnce
  85. def mkString: String
    Definition Classes
    TraversableOnce → GenTraversableOnce
  86. def mkString(sep: String): String
    Definition Classes
    TraversableOnce → GenTraversableOnce
  87. def mkString(start: String, sep: String, end: String): String
    Definition Classes
    TraversableOnce → GenTraversableOnce
  88. def newBuilder: AtomicArrayBuilder[T]
    Definition Classes
    AtomicArray → GenericTraversableTemplate → TraversableLike → HasNewBuilder
  89. def nonEmpty: Boolean
    Definition Classes
    TraversableOnce → GenTraversableOnce
  90. def orElse[A1 <: Int, B1 >: T](that: PartialFunction[A1, B1]): PartialFunction[A1, B1]
    Definition Classes
    PartialFunction
  91. def padTo[B >: T, That](len: Int, elem: B)(implicit bf: CanBuildFrom[AtomicArray[T], B, That]): That
    Definition Classes
    SeqLike → GenSeqLike
  92. def par: ParSeq[T]
    Definition Classes
    Parallelizable
  93. def partition(p: (T) ⇒ Boolean): (AtomicArray[T], AtomicArray[T])
    Definition Classes
    TraversableLike → GenTraversableLike
  94. def patch[B >: T, That](from: Int, patch: GenSeq[B], replaced: Int)(implicit bf: CanBuildFrom[AtomicArray[T], B, That]): That
    Definition Classes
    SeqLike → GenSeqLike
  95. def permutations: collection.Iterator[AtomicArray[T]]
    Definition Classes
    SeqLike
  96. def prefixLength(p: (T) ⇒ Boolean): Int
    Definition Classes
    GenSeqLike
  97. def product[B >: T](implicit num: Numeric[B]): B
    Definition Classes
    TraversableOnce → GenTraversableOnce
  98. def reduce[A1 >: T](op: (A1, A1) ⇒ A1): A1
    Definition Classes
    TraversableOnce → GenTraversableOnce
  99. def reduceLeft[B >: T](op: (B, T) ⇒ B): B
    Definition Classes
    IndexedSeqOptimized → TraversableOnce
  100. def reduceLeftOption[B >: T](op: (B, T) ⇒ B): Option[B]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  101. def reduceOption[A1 >: T](op: (A1, A1) ⇒ A1): Option[A1]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  102. def reduceRight[B >: T](op: (T, B) ⇒ B): B
    Definition Classes
    IndexedSeqOptimized → IterableLike → TraversableOnce → GenTraversableOnce
  103. def reduceRightOption[B >: T](op: (T, B) ⇒ B): Option[B]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  104. def repr: AtomicArray[T]
    Definition Classes
    TraversableLike → GenTraversableLike
  105. def reverse: AtomicArray[T]
    Definition Classes
    IndexedSeqOptimized → SeqLike → GenSeqLike
  106. def reverseIterator: collection.Iterator[T]
    Definition Classes
    IndexedSeqOptimized → SeqLike
  107. def reverseMap[B, That](f: (T) ⇒ B)(implicit bf: CanBuildFrom[AtomicArray[T], B, That]): That
    Definition Classes
    SeqLike → GenSeqLike
  108. def runWith[U](action: (T) ⇒ U): (Int) ⇒ Boolean
    Definition Classes
    PartialFunction
  109. def sameElements[B >: T](that: GenIterable[B]): Boolean
    Definition Classes
    IndexedSeqOptimized → IterableLike → GenIterableLike
  110. def scan[B >: T, That](z: B)(op: (B, B) ⇒ B)(implicit cbf: CanBuildFrom[AtomicArray[T], B, That]): That
    Definition Classes
    TraversableLike → GenTraversableLike
  111. def scanLeft[B, That](z: B)(op: (B, T) ⇒ B)(implicit bf: CanBuildFrom[AtomicArray[T], B, That]): That
    Definition Classes
    TraversableLike → GenTraversableLike
  112. def scanRight[B, That](z: B)(op: (T, B) ⇒ B)(implicit bf: CanBuildFrom[AtomicArray[T], 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.

  113. def segmentLength(p: (T) ⇒ Boolean, from: Int): Int
    Definition Classes
    IndexedSeqOptimized → SeqLike → GenSeqLike
  114. def seq: collection.mutable.IndexedSeq[T]
    Definition Classes
    IndexedSeq → IndexedSeq → IndexedSeqLike → Seq → Seq → GenSeq → GenSeqLike → Iterable → Iterable → GenIterable → Traversable → Traversable → GenTraversable → Parallelizable → TraversableOnce → GenTraversableOnce
  115. def size: Int
    Definition Classes
    SeqLike → GenTraversableLike → TraversableOnce → GenTraversableOnce
  116. def slice(from: Int, until: Int): AtomicArray[T]
    Definition Classes
    IndexedSeqOptimized → IterableLike → TraversableLike → GenTraversableLike
  117. def sliding(size: Int, step: Int): collection.Iterator[AtomicArray[T]]
    Definition Classes
    IterableLike
  118. def sliding(size: Int): collection.Iterator[AtomicArray[T]]
    Definition Classes
    IterableLike
  119. def sortBy[B](f: (T) ⇒ B)(implicit ord: math.Ordering[B]): AtomicArray[T]
    Definition Classes
    SeqLike
  120. def sortWith(lt: (T, T) ⇒ Boolean): AtomicArray[T]
    Definition Classes
    SeqLike
  121. def sorted[B >: T](implicit ord: math.Ordering[B]): AtomicArray[T]
    Definition Classes
    SeqLike
  122. def span(p: (T) ⇒ Boolean): (AtomicArray[T], AtomicArray[T])
    Definition Classes
    IndexedSeqOptimized → TraversableLike → GenTraversableLike
  123. def splitAt(n: Int): (AtomicArray[T], AtomicArray[T])
    Definition Classes
    IndexedSeqOptimized → TraversableLike → GenTraversableLike
  124. def startsWith[B](that: GenSeq[B], offset: Int): Boolean
    Definition Classes
    IndexedSeqOptimized → SeqLike → GenSeqLike
  125. def startsWith[B](that: GenSeq[B]): Boolean
    Definition Classes
    GenSeqLike
  126. def stringPrefix: String
    Definition Classes
    AtomicArray → TraversableLike → GenTraversableLike
  127. def sum[B >: T](implicit num: Numeric[B]): B
    Definition Classes
    TraversableOnce → GenTraversableOnce
  128. def tail: AtomicArray[T]
    Definition Classes
    IndexedSeqOptimized → TraversableLike → GenTraversableLike
  129. def tails: collection.Iterator[AtomicArray[T]]
    Definition Classes
    TraversableLike
  130. def take(n: Int): AtomicArray[T]
    Definition Classes
    IndexedSeqOptimized → IterableLike → TraversableLike → GenTraversableLike
  131. def takeRight(n: Int): AtomicArray[T]
    Definition Classes
    IndexedSeqOptimized → IterableLike
  132. def takeWhile(p: (T) ⇒ Boolean): AtomicArray[T]
    Definition Classes
    IndexedSeqOptimized → IterableLike → TraversableLike → GenTraversableLike
  133. def to[Col[_]](implicit cbf: CanBuildFrom[Nothing, T, Col[T]]): Col[T]
    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  134. def toArray[B >: T](implicit arg0: ClassTag[B]): Array[B]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  135. def toBuffer[A1 >: T]: Buffer[A1]
    Definition Classes
    IndexedSeqLike → TraversableOnce → GenTraversableOnce
  136. def toIndexedSeq: collection.immutable.IndexedSeq[T]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  137. def toIterable: collection.Iterable[T]
    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  138. def toIterator: collection.Iterator[T]
    Definition Classes
    IterableLike → TraversableLike → GenTraversableOnce
    Annotations
    @deprecatedOverriding( ... , "2.11.0" )
  139. def toList: List[T]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  140. def toMap[T, U](implicit ev: <:<[T, (T, U)]): Map[T, U]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  141. def toSeq: collection.Seq[T]
    Definition Classes
    SeqLike → GenSeqLike → TraversableOnce → GenTraversableOnce
  142. def toSet[B >: T]: Set[B]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  143. def toStream: collection.immutable.Stream[T]
    Definition Classes
    IterableLike → TraversableLike → GenTraversableOnce
  144. def toString(): String
    Definition Classes
    SeqLike → TraversableLike → Any
  145. def toTraversable: collection.Traversable[T]
    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
    Annotations
    @deprecatedOverriding( ... , "2.11.0" )
  146. def toVector: Vector[T]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  147. def transform(f: (T) ⇒ T): AtomicArray.this.type
    Definition Classes
    SeqLike
  148. def transpose[B](implicit asTraversable: (T) ⇒ GenTraversableOnce[B]): collection.mutable.IndexedSeq[collection.mutable.IndexedSeq[B]]
    Definition Classes
    GenericTraversableTemplate
    Annotations
    @migration
    Migration

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

  149. def union[B >: T, That](that: GenSeq[B])(implicit bf: CanBuildFrom[AtomicArray[T], B, That]): That
    Definition Classes
    SeqLike → GenSeqLike
  150. def unzip[A1, A2](implicit asPair: (T) ⇒ (A1, A2)): (collection.mutable.IndexedSeq[A1], collection.mutable.IndexedSeq[A2])
    Definition Classes
    GenericTraversableTemplate
  151. def unzip3[A1, A2, A3](implicit asTriple: (T) ⇒ (A1, A2, A3)): (collection.mutable.IndexedSeq[A1], collection.mutable.IndexedSeq[A2], collection.mutable.IndexedSeq[A3])
    Definition Classes
    GenericTraversableTemplate
  152. def updated[B >: T, That](index: Int, elem: B)(implicit bf: CanBuildFrom[AtomicArray[T], B, That]): That
    Definition Classes
    SeqLike → GenSeqLike
  153. def view(from: Int, until: Int): IndexedSeqView[T, AtomicArray[T]]
    Definition Classes
    IndexedSeqLike → SeqLike → IterableLike → TraversableLike
  154. def view: IndexedSeqView[T, AtomicArray[T]]
    Definition Classes
    IndexedSeqLike → SeqLike → IterableLike → TraversableLike
  155. def withFilter(p: (T) ⇒ Boolean): FilterMonadic[T, AtomicArray[T]]
    Definition Classes
    TraversableLike → FilterMonadic
  156. def zip[A1 >: T, B, That](that: GenIterable[B])(implicit bf: CanBuildFrom[AtomicArray[T], (A1, B), That]): That
    Definition Classes
    IndexedSeqOptimized → IterableLike → GenIterableLike
  157. def zipAll[B, A1 >: T, That](that: GenIterable[B], thisElem: A1, thatElem: B)(implicit bf: CanBuildFrom[AtomicArray[T], (A1, B), That]): That
    Definition Classes
    IterableLike → GenIterableLike
  158. def zipWithIndex[A1 >: T, That](implicit bf: CanBuildFrom[AtomicArray[T], (A1, Int), That]): That
    Definition Classes
    IndexedSeqOptimized → IterableLike → GenIterableLike