Packages

package mutable

Source
package.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. mutable
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. abstract class AbstractBuffer[A] extends AbstractSeq[A] with Buffer[A]

    Explicit instantiation of the Buffer trait to reduce class file size in subclasses.

  2. abstract class AbstractIterable[A] extends collection.AbstractIterable[A] with Iterable[A]

    Explicit instantiation of the Iterable trait to reduce class file size in subclasses.

  3. abstract class AbstractMap[A, B] extends collection.AbstractMap[A, B] with Map[A, B]

    Explicit instantiation of the Map trait to reduce class file size in subclasses.

  4. abstract class AbstractSeq[A] extends collection.AbstractSeq[A] with Seq[A]

    Explicit instantiation of the Seq trait to reduce class file size in subclasses.

  5. abstract class AbstractSet[A] extends AbstractIterable[A] with Set[A]

    Explicit instantiation of the Set trait to reduce class file size in subclasses.

  6. class AnyRefMap[K <: AnyRef, V] extends Map[K, V] with MapOps[K, V, Map, AnyRefMap[K, V]] with StrictOptimizedIterableOps[(K, V), Iterable, AnyRefMap[K, V]] with Serializable

    This class implements mutable maps with AnyRef keys based on a hash table with open addressing.

    This class implements mutable maps with AnyRef keys based on a hash table with open addressing.

    Basic map operations on single entries, including contains and get, are typically significantly faster with AnyRefMap than HashMap. Note that numbers and characters are not handled specially in AnyRefMap; only plain equals and hashCode are used in comparisons.

    Methods that traverse or regenerate the map, including foreach and map, are not in general faster than with HashMap. The methods foreachKey, foreachValue, mapValuesNow, and transformValues are, however, faster than alternative ways to achieve the same functionality.

    Maps with open addressing may become less efficient at lookup after repeated addition/removal of elements. Although AnyRefMap makes a decent attempt to remain efficient regardless, calling repack on a map that will no longer have elements removed but will be used heavily may save both time and storage space.

    This map is not intended to contain more than 229 entries (approximately 500 million). The maximum capacity is 230, but performance will degrade rapidly as 230 is approached.

    Annotations
    @SerialVersionUID()
  7. class ArrayBuffer[A] extends AbstractBuffer[A] with IndexedSeq[A] with IndexedSeqOps[A, ArrayBuffer, ArrayBuffer[A]] with IndexedOptimizedBuffer[A] with StrictOptimizedSeqOps[A, ArrayBuffer, ArrayBuffer[A]] with Serializable

    An implementation of the Buffer class using an array to represent the assembled sequence internally.

    An implementation of the Buffer class using an array to represent the assembled sequence internally. Append, update and random access take constant time (amortized time). Prepends and removes are linear in the buffer size.

    A

    the type of this arraybuffer's elements.

    Annotations
    @SerialVersionUID()
    Version

    2.8

    Since

    1

    See also

    "Scala's Collection Library overview" section on Array Buffers for more information.

  8. class ArrayBufferView[A] extends IndexedView[A]
  9. sealed abstract class ArrayBuilder[T] extends ReusableBuilder[T, Array[T]] with Serializable

    A builder class for arrays.

    A builder class for arrays.

    T

    the type of the elements for the builder.

    Annotations
    @SerialVersionUID()
    Since

    2.8

  10. class ArrayDeque[A] extends Buffer[A] with IndexedSeq[A] with IndexedSeqOps[A, ArrayDeque, ArrayDeque[A]] with IndexedOptimizedBuffer[A] with StrictOptimizedSeqOps[A, ArrayDeque, ArrayDeque[A]] with Serializable

    An implementation of a double-ended queue that internally uses a resizable circular buffer Append, prepend, removeFirst, removeLast and random-access (indexed-lookup and indexed-replacement) take amortized constant time.

    An implementation of a double-ended queue that internally uses a resizable circular buffer Append, prepend, removeFirst, removeLast and random-access (indexed-lookup and indexed-replacement) take amortized constant time. In general, removals and insertions at i-th index are O(min(i, n-i)) and thus insertions and removals from end/beginning are fast.

    A

    the type of this ArrayDeque's elements.

    Annotations
    @SerialVersionUID()
    Version

    2.13

    Since

    2.13

  11. class BitSet extends SortedSet[Int] with collection.BitSet with SortedSetOps[Int, SortedSet, BitSet] with BitSetOps[BitSet] with StrictOptimizedIterableOps[Int, Set, BitSet] with Serializable

    A class for mutable bitsets.

    A class for mutable bitsets.

    Bitsets are sets of non-negative integers which are represented as variable-size arrays of bits packed into 64-bit words. The memory footprint of a bitset is determined by the largest number stored in it.

    Annotations
    @SerialVersionUID()
    See also

    "Scala's Collection Library overview" section on Mutable Bitsets for more information.

  12. trait Buffer[A] extends Seq[A] with SeqOps[A, Buffer, Buffer[A]] with Growable[A] with Shrinkable[A]

    A Buffer is a growable and shrinkable Seq.

  13. trait Builder[-A, +To] extends Growable[A]

    Base trait for collection builders

  14. trait Clearable extends AnyRef

    This trait forms part of collections that can be cleared with a clear() call.

  15. trait Cloneable[+C <: AnyRef] extends scala.Cloneable

    A trait for cloneable collections.

    A trait for cloneable collections.

    C

    Type of the collection, covariant and with reference types as upperbound.

    Since

    2.8

  16. final class DefaultEntry[A, B] extends HashEntry[A, DefaultEntry[A, B]] with Serializable

    Class used internally for default map model.

    Class used internally for default map model.

    Annotations
    @SerialVersionUID()
    Since

    2.3

  17. trait Growable[-A] extends Clearable

    This trait forms part of collections that can be augmented using a += operator and that can be cleared of all elements using a clear method.

  18. class GrowableBuilder[Elem, To <: Growable[Elem]] extends Builder[Elem, To]

    The canonical builder for collections that are growable, i.e.

    The canonical builder for collections that are growable, i.e. that support an efficient += method which adds an element to the collection.

    GrowableBuilders can produce only a single instance of the collection they are growing.

    Version

    2.8

    Since

    2.8

  19. trait HashEntry[A, E <: HashEntry[A, E]] extends AnyRef

    Class used internally.

    Class used internally.

    Since

    2.8

  20. class HashMap[K, V] extends AbstractMap[K, V] with MapOps[K, V, HashMap, HashMap[K, V]] with StrictOptimizedIterableOps[(K, V), Iterable, HashMap[K, V]] with Serializable

    This class implements mutable maps using a hashtable.

    This class implements mutable maps using a hashtable.

    K

    the type of the keys contained in this hash map.

    V

    the type of the values assigned to keys in this hash map.

    Annotations
    @SerialVersionUID()
    Since

    1

    See also

    "Scala's Collection Library overview" section on Hash Tables for more information.

  21. final class HashSet[A] extends Set[A] with SetOps[A, HashSet, HashSet[A]] with StrictOptimizedIterableOps[A, HashSet, HashSet[A]] with Serializable

    This class implements mutable sets using a hashtable.

    This class implements mutable sets using a hashtable.

    Annotations
    @SerialVersionUID()
    Version

    2.0, 31/12/2006

    Since

    1

    See also

    "Scala's Collection Library overview" section on Hash Tables for more information.

  22. abstract class ImmutableBuilder[-A, C] extends ReusableBuilder[A, C]

    Reusable builder for immutable collections

  23. trait IndexedOptimizedBuffer[A] extends IndexedOptimizedSeq[A] with Buffer[A]
  24. trait IndexedOptimizedSeq[A] extends Seq[A]
  25. trait IndexedSeq[T] extends Seq[T] with collection.IndexedSeq[T] with IndexedSeqOps[T, IndexedSeq, IndexedSeq[T]]
  26. trait IndexedSeqOps[A, +CC[_], +C <: AnyRef] extends collection.IndexedSeqOps[A, CC, C] with SeqOps[A, CC, C]
  27. trait Iterable[A] extends collection.Iterable[A] with IterableOps[A, Iterable, Iterable[A]]
  28. trait IterableOps[A, +CC[X], +C] extends collection.IterableOps[A, CC, C]

  29. class LinkedHashMap[K, V] extends Map[K, V] with MapOps[K, V, LinkedHashMap, LinkedHashMap[K, V]] with StrictOptimizedIterableOps[(K, V), Iterable, LinkedHashMap[K, V]] with Serializable

    This class implements mutable maps using a hashtable.

    This class implements mutable maps using a hashtable. The iterator and all traversal methods of this class visit elements in the order they were inserted.

    K

    the type of the keys contained in this hash map.

    V

    the type of the values assigned to keys in this hash map.

    Annotations
    @SerialVersionUID()
  30. class LinkedHashSet[A] extends Set[A] with SetOps[A, LinkedHashSet, LinkedHashSet[A]] with Serializable

    This class implements mutable sets using a hashtable.

    This class implements mutable sets using a hashtable. The iterator and all traversal methods of this class visit elements in the order they were inserted.

    A

    the type of the elements contained in this set.

    Annotations
    @SerialVersionUID()
    Version

    2.0, 31/12/2006

    Since

    1

  31. class ListBuffer[A] extends Buffer[A] with SeqOps[A, ListBuffer, ListBuffer[A]] with StrictOptimizedSeqOps[A, ListBuffer, ListBuffer[A]] with ReusableBuilder[A, immutable.List[A]] with Serializable

    A Buffer implementation backed by a list.

    A Buffer implementation backed by a list. It provides constant time prepend and append. Most other operations are linear.

    A

    the type of this list buffer's elements.

    Annotations
    @SerialVersionUID()
    Version

    2.8

    Since

    1

    See also

    "Scala's Collection Library overview" section on List Buffers for more information.

  32. class ListMap[K, V] extends AbstractMap[K, V] with MapOps[K, V, ListMap, ListMap[K, V]] with StrictOptimizedIterableOps[(K, V), Iterable, ListMap[K, V]] with Serializable

    A simple mutable map backed by a list, so it preserves insertion order.

    A simple mutable map backed by a list, so it preserves insertion order.

    K

    the type of the keys contained in this list map.

    V

    the type of the values assigned to keys in this list map.

  33. final class LongMap[V] extends Map[Long, V] with MapOps[Long, V, Map, LongMap[V]] with StrictOptimizedIterableOps[(Long, V), Iterable, LongMap[V]] with Serializable

    This class implements mutable maps with Long keys based on a hash table with open addressing.

    This class implements mutable maps with Long keys based on a hash table with open addressing.

    Basic map operations on single entries, including contains and get, are typically substantially faster with LongMap than HashMap. Methods that act on the whole map, including foreach and map are not in general expected to be faster than with a generic map, save for those that take particular advantage of the internal structure of the map: foreachKey, foreachValue, mapValuesNow, and transformValues.

    Maps with open addressing may become less efficient at lookup after repeated addition/removal of elements. Although LongMap makes a decent attempt to remain efficient regardless, calling repack on a map that will no longer have elements removed but will be used heavily may save both time and storage space.

    This map is not intended to contain more than 229 entries (approximately 500 million). The maximum capacity is 230, but performance will degrade rapidly as 2^30 is approached.

    Annotations
    @SerialVersionUID()
  34. trait Map[K, V] extends Iterable[(K, V)] with collection.Map[K, V] with MapOps[K, V, Map, Map[K, V]] with Growable[(K, V)] with Shrinkable[K]

    Base type of mutable Maps

  35. trait MapOps[K, V, +CC[X, Y] <: MapOps[X, Y, CC, _], +C <: MapOps[K, V, CC, C]] extends IterableOps[(K, V), Iterable, C] with collection.MapOps[K, V, CC, C] with Cloneable[C] with Growable[(K, V)] with Shrinkable[K]

  36. trait MultiMap[A, B] extends Map[A, Set[B]]

    A trait for mutable maps with multiple values assigned to a key.

    A trait for mutable maps with multiple values assigned to a key.

    This class is typically used as a mixin. It turns maps which map A to Set[B] objects into multimaps that map A to B objects.

    Example:
    1. // first import all necessary types from package `collection.mutable`
      import collection.mutable.{ HashMap, MultiMap, Set }
      
      // to create a `MultiMap` the easiest way is to mixin it into a normal
      // `Map` instance
      val mm = new HashMap[Int, Set[String]] with MultiMap[Int, String]
      
      // to add key-value pairs to a multimap it is important to use
      // the method `addBinding` because standard methods like `+` will
      // overwrite the complete key-value pair instead of adding the
      // value to the existing key
      mm.addBinding(1, "a")
      mm.addBinding(2, "b")
      mm.addBinding(1, "c")
      
      // mm now contains `Map(2 -> Set(b), 1 -> Set(c, a))`
      
      // to check if the multimap contains a value there is method
      // `entryExists`, which allows to traverse the including set
      mm.entryExists(1, _ == "a") == true
      mm.entryExists(1, _ == "b") == false
      mm.entryExists(2, _ == "b") == true
      
      // to remove a previous added value there is the method `removeBinding`
      mm.removeBinding(1, "a")
      mm.entryExists(1, _ == "a") == false
  37. sealed class PriorityQueue[A] extends AbstractIterable[A] with Iterable[A] with IterableOps[A, Iterable, PriorityQueue[A]] with StrictOptimizedIterableOps[A, Iterable, PriorityQueue[A]] with Builder[A, PriorityQueue[A]] with Cloneable[PriorityQueue[A]] with Serializable with Growable[A]

    This class implements priority queues using a heap.

    This class implements priority queues using a heap. To prioritize elements of type A there must be an implicit Ordering[A] available at creation.

    Only the dequeue and dequeueAll methods will return elements in priority order (while removing elements from the heap). Standard collection methods including drop, iterator, and toString will remove or traverse the heap in whichever order seems most convenient.

    Therefore, printing a PriorityQueue will not reveal the priority order of the elements, though the highest-priority element will be printed first. To print the elements in order, one must duplicate the PriorityQueue (by using clone, for instance) and then dequeue them:

    A

    type of the elements in this priority queue.

    Annotations
    @SerialVersionUID()
    Example:
    1. val pq = collection.mutable.PriorityQueue(1, 2, 5, 3, 7)
      println(pq)                  // elements probably not in order
      println(pq.clone.dequeueAll) // prints Vector(7, 5, 3, 2, 1)
    Version

    1.0, 03/05/2004

    Since

    1

  38. class Queue[A] extends ArrayDeque[A] with IndexedSeqOps[A, Queue, Queue[A]] with StrictOptimizedSeqOps[A, Queue, Queue[A]] with Cloneable[Queue[A]] with Serializable

    Queue objects implement data structures that allow to insert and retrieve elements in a first-in-first-out (FIFO) manner.

    Queue objects implement data structures that allow to insert and retrieve elements in a first-in-first-out (FIFO) manner.

    Annotations
    @SerialVersionUID()
    Version

    2.13

    Since

    2.13

  39. trait ReusableBuilder[-Elem, +To] extends Builder[Elem, To]

    ReusableBuilder is a marker trait that indicates that a Builder can be reused to build more than one instance of a collection.

    ReusableBuilder is a marker trait that indicates that a Builder can be reused to build more than one instance of a collection. In particular, calling result followed by clear will produce a collection and reset the builder to begin building a new collection of the same type.

    It is up to subclasses to implement this behavior, and to document any other behavior that varies from standard ReusableBuilder usage (e.g. operations being well-defined after a call to result, or allowing multiple calls to result to obtain different snapshots of a collection under construction).

    Elem

    the type of elements that get added to the builder.

    To

    the type of collection that it produced.

    Since

    2.12

  40. trait Seq[A] extends Iterable[A] with collection.Seq[A] with SeqOps[A, Seq, Seq[A]]
  41. trait SeqOps[A, +CC[_], +C <: AnyRef] extends IterableOps[A, CC, C] with collection.SeqOps[A, CC, C] with Cloneable[C]

  42. trait Set[A] extends Iterable[A] with collection.Set[A] with SetOps[A, Set, Set[A]]

    Base trait for mutable sets

  43. trait SetOps[A, +CC[X], +C <: SetOps[A, CC, C]] extends IterableOps[A, CC, C] with collection.SetOps[A, CC, C] with Cloneable[C] with Growable[A] with Shrinkable[A]

  44. trait Shrinkable[-A] extends AnyRef

    This trait forms part of collections that can be reduced using a -= operator.

    This trait forms part of collections that can be reduced using a -= operator.

    Version

    2.8

    Since

    2.8

  45. trait SortedMap[K, V] extends collection.SortedMap[K, V] with Map[K, V] with SortedMapOps[K, V, SortedMap, SortedMap[K, V]]

    Base type for mutable sorted map collections

  46. trait SortedMapOps[K, V, +CC[X, Y] <: Map[X, Y] with SortedMapOps[X, Y, CC, _], +C <: SortedMapOps[K, V, CC, C]] extends collection.SortedMapOps[K, V, CC, C] with MapOps[K, V, Map, C]
  47. trait SortedSet[A] extends Set[A] with collection.SortedSet[A] with SortedSetOps[A, SortedSet, SortedSet[A]]

    Base type for mutable sorted set collections

  48. trait SortedSetOps[A, +CC[X] <: SortedSet[X], +C <: SortedSetOps[A, CC, C]] extends SetOps[A, Set, C] with collection.SortedSetOps[A, CC, C]

  49. class Stack[A] extends ArrayDeque[A] with IndexedSeqOps[A, Stack, Stack[A]] with StrictOptimizedSeqOps[A, Stack, Stack[A]] with Cloneable[Stack[A]] with Serializable

    A stack implements a data structure which allows to store and retrieve objects in a last-in-first-out (LIFO) fashion.

    A stack implements a data structure which allows to store and retrieve objects in a last-in-first-out (LIFO) fashion.

    A

    type of the elements contained in this stack.

    Annotations
    @SerialVersionUID()
    Version

    2.13

    Since

    2.13

  50. class StringBuilder extends Builder[Char, String] with IndexedSeq[Char] with IndexedSeqOps[Char, IndexedSeq, StringBuilder] with IndexedOptimizedSeq[Char] with CharSequence with Serializable

    A builder for mutable sequence of characters.

    A builder for mutable sequence of characters. This class provides an API mostly compatible with java.lang.StringBuilder, except where there are conflicts with the Scala collections API (such as the reverse method.)

    Annotations
    @SerialVersionUID()
    Version

    2.8

    Since

    2.7

  51. sealed class TreeMap[K, V] extends SortedMap[K, V] with SortedMapOps[K, V, TreeMap, TreeMap[K, V]] with StrictOptimizedIterableOps[(K, V), Iterable, TreeMap[K, V]] with Serializable

    A mutable sorted map implemented using a mutable red-black tree as underlying data structure.

    A mutable sorted map implemented using a mutable red-black tree as underlying data structure.

    K

    the type of the keys contained in this tree map.

    V

    the type of the values associated with the keys.

    Annotations
    @SerialVersionUID()
    Version

    2.12

    Since

    2.12

  52. sealed class TreeSet[A] extends SortedSet[A] with SortedSetOps[A, TreeSet, TreeSet[A]] with StrictOptimizedIterableOps[A, Set, TreeSet[A]] with StrictOptimizedSortedSetOps[A, TreeSet, TreeSet[A]] with Serializable

    A mutable sorted set implemented using a mutable red-black tree as underlying data structure.

    A mutable sorted set implemented using a mutable red-black tree as underlying data structure.

    A

    the type of the keys contained in this tree set.

    Annotations
    @SerialVersionUID()
    Version

    2.12

    Since

    2.10

  53. sealed class UnrolledBuffer[T] extends AbstractBuffer[T] with Buffer[T] with Seq[T] with SeqOps[T, UnrolledBuffer, UnrolledBuffer[T]] with StrictOptimizedSeqOps[T, UnrolledBuffer, UnrolledBuffer[T]] with Builder[T, UnrolledBuffer[T]] with Serializable

    A buffer that stores elements in an unrolled linked list.

    A buffer that stores elements in an unrolled linked list.

    Unrolled linked lists store elements in linked fixed size arrays.

    Unrolled buffers retain locality and low memory overhead properties of array buffers, but offer much more efficient element addition, since they never reallocate and copy the internal array.

    However, they provide O(n/m) complexity random access, where n is the number of elements, and m the size of internal array chunks.

    Ideal to use when:

    • elements are added to the buffer and then all of the elements are traversed sequentially
    • two unrolled buffers need to be concatenated (see concat)

    Better than singly linked lists for random access, but should still be avoided for such a purpose.

    Annotations
    @SerialVersionUID()
  54. class WeakHashMap[A, B] extends convert.Wrappers.JMapWrapper[A, B] with convert.Wrappers.JMapWrapperLike[A, B, WeakHashMap, WeakHashMap[A, B]]

    A hash map with references to entries which are weakly reachable.

    A hash map with references to entries which are weakly reachable. Entries are removed from this map when the key is no longer (strongly) referenced. This class wraps java.util.WeakHashMap.

    A

    type of keys contained in this map

    B

    type of values associated with the keys

    Annotations
    @SerialVersionUID()
    Since

    2.8

    See also

    "Scala's Collection Library overview" section on Weak Hash Maps for more information.

  55. abstract class WrappedArray[T] extends AbstractSeq[T] with IndexedSeq[T] with IndexedSeqOps[T, WrappedArray, WrappedArray[T]] with IndexedOptimizedSeq[T] with StrictOptimizedSeqOps[T, WrappedArray, WrappedArray[T]] with Serializable

    A collection representing Array[T].

    A collection representing Array[T]. Unlike ArrayBuffer it is always backed by the same underlying Array, therefore it is not growable or shrinkable.

    T

    type of the elements in this wrapped array.

    Annotations
    @SerialVersionUID()
    Version

    1.0

    Since

    2.8

  56. type ArraySeq[X] = WrappedArray[X]
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use WrappedArray instead of ArraySeq; it can represent both, boxed and unboxed arrays

  57. type ArrayStack[X] = Stack[X]
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use Stack instead of ArrayStack; it now uses an array-based implementation

  58. type GrowingBuilder[Elem, To <: Growable[Elem]] = GrowableBuilder[Elem, To]
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) GrowingBuilder has been renamed to GrowableBuilder

  59. type LinearSeq[X] = Seq[X] with collection.LinearSeq[X]
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) mutable.LinearSeq has been removed; use LinearSeq with mutable.Seq instead

  60. class OpenHashMap[Key, Value] extends AbstractMap[Key, Value] with MapOps[Key, Value, OpenHashMap, OpenHashMap[Key, Value]] with StrictOptimizedIterableOps[(Key, Value), Iterable, OpenHashMap[Key, Value]]

    A mutable hash map based on an open hashing scheme.

    A mutable hash map based on an open hashing scheme. The precise scheme is undefined, but it should make a reasonable effort to ensure that an insert with consecutive hash codes is not unnecessarily penalised. In particular, mappings of consecutive integer keys should work without significant performance loss.

    Key

    type of the keys in this map.

    Value

    type of the values in this map.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use HashMap or one of the specialized versions (LongMap, AnyRefMap) instead of OpenHashMap

    Since

    2.7

  61. type Traversable[X] = Iterable[X]
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use Iterable instead of Traversable

Value Members

  1. object AnyRefMap extends Serializable
  2. object ArrayBuffer extends StrictOptimizedSeqFactory[ArrayBuffer] with Serializable

    Factory object for the ArrayBuffer class.

    Factory object for the ArrayBuffer class.

    This object provides a set of operations to create mutable.ArrayBuffer values.

  3. object ArrayBuilder extends Serializable

    A companion object for array builders.

    A companion object for array builders.

    Since

    2.8

  4. object ArrayDeque extends StrictOptimizedSeqFactory[ArrayDeque] with Serializable

    This object provides a set of operations to create ArrayDeque values.

  5. object BitSet extends SpecificIterableFactory[Int, BitSet] with Serializable
  6. object Buffer extends Delegate[Buffer]
  7. object Growable
  8. object HashMap extends MapFactory[HashMap] with Serializable

    This object provides a set of operations to create mutable.HashMap values.

  9. object HashSet extends IterableFactory[HashSet] with Serializable

    This object provides a set of operations to create mutable.HashSet values.

  10. object IndexedSeq extends Delegate[IndexedSeq]
  11. object Iterable extends Delegate[Iterable]

    This object provides a set of operations to create mutable.Iterable values.

  12. object LinkedHashMap extends MapFactory[LinkedHashMap] with Serializable

    This object provides a set of operations to create LinkedHashMap values.

  13. object LinkedHashSet extends IterableFactory[LinkedHashSet] with Serializable

    This object provides a set of operations to create LinkedHashSet values.

  14. object ListBuffer extends StrictOptimizedSeqFactory[ListBuffer] with Serializable
  15. object ListMap extends MapFactory[ListMap] with Serializable

    This object provides a set of operations to create mutable.ListMap values.

  16. object LongMap extends Serializable
  17. object Map extends Delegate[Map]

    This object provides a set of operations to create mutable.Map values.

  18. object PriorityQueue extends SortedIterableFactory[PriorityQueue] with Serializable
  19. object Queue extends StrictOptimizedSeqFactory[Queue] with Serializable

    This object provides a set of operations to create Queue values.

  20. object RefArrayUtils

    An object used internally by collections backed by an extensible Array[AnyRef]

  21. object Seq extends Delegate[Seq]

    This object provides a set of operations to create mutable.Seq values.

  22. object Set extends Delegate[Set]

    This object provides a set of operations to create mutable.Set values.

  23. object SortedMap extends Delegate[SortedMap]
  24. object SortedSet extends Delegate[SortedSet]

    This object provides a set of operations to create mutable.Sortedset values.

  25. object Stack extends StrictOptimizedSeqFactory[Stack] with Serializable

    This object provides a set of operations to create Stack values.

  26. object StringBuilder extends Serializable
  27. object TreeMap extends SortedMapFactory[TreeMap] with Serializable

    This object provides a set of operations to create mutable.TreeMap values.

  28. object TreeSet extends SortedIterableFactory[TreeSet] with Serializable

    This object provides a set of operations to create mutable.TreeSet values.

  29. object UnrolledBuffer extends StrictOptimizedClassTagSeqFactory[UnrolledBuffer] with Serializable
  30. object WeakHashMap extends MapFactory[WeakHashMap]

    This object provides a set of operations to create WeakHashMap values.

  31. object WrappedArray extends StrictOptimizedClassTagSeqFactory[WrappedArray] with Serializable

    A companion object used to create instances of WrappedArray.

Deprecated Value Members

  1. val ArraySeq: SeqFactory[WrappedArray]
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use WrappedArray instead of ArraySeq; it can represent both, boxed and unboxed arrays

  2. val ArrayStack: Stack.type
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use Stack instead of ArrayStack; it now uses an array-based implementation

  3. val Traversable: Iterable.type
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use Iterable instead of Traversable

  4. object OpenHashMap extends MapFactory[OpenHashMap]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use HashMap or one of the specialized versions (LongMap, AnyRefMap) instead of OpenHashMap

Inherited from AnyRef

Inherited from Any

Ungrouped