package mutable
- Alphabetic
- Public
- All
Type Members
-
class
ArrayBuffer
[A] extends IndexedSeq[A] with IndexedSeqOps[A, ArrayBuffer, ArrayBuffer[A]] with IndexedOptimizedGrowableSeq[A] with StrictOptimizedIterableOps[A, ArrayBuffer, ArrayBuffer[A]]
Concrete collection type: ArrayBuffer
- class ArrayBufferView [A] extends IndexedView[A]
-
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.
$bitsetinfo
- Annotations
- @SerialVersionUID()
- See also
"Scala's Collection Library overview" section on
Mutable Bitsets
for more information.
-
trait
Builder
[-A, +To] extends Growable[A]
Base trait for collection builders
-
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.
- Since
2.3
-
trait
Growable
[-A] extends AnyRef
This trait forms part of collections that can be augmented using a
+=
operator and that can be cleared of all elements using aclear
method. -
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
- trait GrowableIterable [A] extends Iterable[A] with Growable[A]
- trait GrowableSeq [A] extends GrowableIterable[A] with Seq[A]
-
trait
HashEntry
[A, E <: HashEntry[A, E]] extends AnyRef
Class used internally.
Class used internally.
- Since
2.8
-
final
class
HashMap
[K, V] extends Map[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.
-
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.
-
abstract
class
ImmutableBuilder
[-A, C] extends ReusableBuilder[A, C]
Reusable builder for immutable collections
- trait IndexedOptimizedGrowableSeq [A] extends IndexedOptimizedSeq[A] with GrowableSeq[A]
- trait IndexedOptimizedSeq [A] extends Seq[A]
- trait Iterable [A] extends collection.Iterable[A] with IterableOps[A, Iterable, Iterable[A]]
- trait IterableOps [A, +CC[X], +C] extends collection.IterableOps[A, CC, C]
-
class
ListBuffer
[A] extends GrowableSeq[A] with SeqOps[A, ListBuffer, ListBuffer[A]] with StrictOptimizedIterableOps[A, ListBuffer, ListBuffer[A]]
Concrete collection type: ListBuffer
-
trait
Map
[K, V] extends GrowableIterable[(K, V)] with collection.Map[K, V] with MapOps[K, V, Map, Map[K, V]] with Shrinkable[K]
Base type of mutable Maps
-
trait
MapOps
[K, V, +CC[X, Y] <: Map[X, Y], +C <: Map[K, V]] extends IterableOps[(K, V), Iterable, C] with collection.MapOps[K, V, CC, C]
Base trait of mutable Maps implementations
-
trait
ReusableBuilder
[-Elem, +To] extends Builder[Elem, To]
ReusableBuilder
is a marker trait that indicates that aBuilder
can be reused to build more than one instance of a collection.ReusableBuilder
is a marker trait that indicates that aBuilder
can be reused to build more than one instance of a collection. In particular, callingresult
followed byclear
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 toresult
, 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
- trait Seq [A] extends Iterable[A] with collection.Seq[A] with SeqOps[A, Seq, Seq[A]]
- trait SeqOps [A, +CC[A] <: Seq[A], +C] extends collection.SeqOps[A, CC, C]
-
trait
Set
[A] extends GrowableIterable[A] with collection.Set[A] with SetOps[A, Set, Set[A]] with Shrinkable[A]
Base trait for mutable sets
- trait SetOps [A, +CC[X], +C <: Set[A]] extends IterableOps[A, CC, C] with collection.SetOps[A, CC, C]
-
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
-
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
- trait SortedMapOps [K, V, +CC[X, Y] <: SortedMap[X, Y] with SortedMapOps[X, Y, CC, _], +C <: SortedMap[K, V]] extends collection.SortedMapOps[K, V, CC, C] with MapOps[K, V, Map, C]
-
trait
SortedSet
[A] extends Set[A] with collection.SortedSet[A] with SortedSetOps[A, SortedSet, SortedSet[A]]
Base type for mutable sorted set collections
- trait SortedSetOps [A, +CC[X] <: SortedSet[X], +C <: SortedSet[A]] extends SetOps[A, Set, C] with collection.SortedSetOps[A, CC, C]
- class StringBuilder extends Builder[Char, String]
-
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
-
sealed
class
TreeSet
[A] extends SortedSet[A] with SortedSetOps[A, TreeSet, TreeSet[A]] with StrictOptimizedIterableOps[A, Set, 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
Value Members
- object ArrayBuffer extends IterableFactory[ArrayBuffer]
- object BitSet extends SpecificIterableFactory[Int, BitSet] with Serializable
- object Growable
- object HashMap extends MapFactory[HashMap] with Serializable
- object HashSet extends IterableFactory[HashSet] with Serializable
- object Iterable extends Delegate[Iterable]
- object ListBuffer extends IterableFactory[ListBuffer]
- object Map extends Delegate[Map]
-
object
RefArrayUtils
An object used internally by collections backed by an extensible Array[AnyRef]
- object Set extends Delegate[Set]
- object SortedSet extends Delegate[SortedSet]
-
object
TreeMap
extends SortedMapFactory[TreeMap] with Serializable
$factoryInfo
- object TreeSet extends SortedIterableFactory[TreeSet] with Serializable