scala.collection

immutable

package immutable

Visibility
  1. Public
  2. All
Impl.
  1. Concrete
  2. Abstract

Type Members

  1. case class :: [B] (hd: B, tl: List[B]) extends List[B] with Product

    A non empty list characterized by a head and a tail.

  2. class BitSet extends Set[Int] with BitSet with BitSetLike[BitSet]

    A class for immutable bitsets.

  3. trait DefaultMap [A, +B] extends Map[A, B]

    A default map which implements the + and - methods of maps.

  4. class HashMap [A, +B] extends Map[A, B] with MapLike[A, B, HashMap[A, B]]

    This class implements immutable maps using a hash trie.

  5. class HashSet [A] extends Set[A] with GenericSetTemplate[A, HashSet] with SetLike[A, HashSet[A]]

    This class implements immutable sets using a hash trie.

  6. trait IndexedSeq [+A] extends Seq[A] with IndexedSeq[A] with GenericTraversableTemplate[A, IndexedSeq] with IndexedSeqLike[A, IndexedSeq[A]]

    A subtrait of collection.IndexedSeq which represents indexed sequences that are guaranteed immutable.

  7. class IntMap [+T] extends Map[Int, T] with MapLike[Int, T, IntMap[T]]

    Specialised immutable map structure for integer keys, based on Fast Mergeable Integer Maps by Okasaki and Gill.

  8. trait Iterable [+A] extends Traversable[A] with Iterable[A] with GenericTraversableTemplate[A, Iterable] with IterableLike[A, Iterable[A]]

    A base trait for iterable collections that are guaranteed immutable.

  9. trait LinearSeq [+A] extends Seq[A] with LinearSeq[A] with GenericTraversableTemplate[A, LinearSeq] with LinearSeqLike[A, LinearSeq[A]]

    A subtrait of collection.LinearSeq which represents sequences that are guaranteed immutable.

  10. class List [+A] extends LinearSeq[A] with Product with GenericTraversableTemplate[A, List] with LinearSeqOptimized[A, List[A]]

    A class for immutable linked lists representing ordered collections of elements of type.

  11. class ListMap [A, +B] extends Map[A, B] with MapLike[A, B, ListMap[A, B]]

    This class implements immutable maps using a list-based data structure.

  12. class ListSet [A] extends Set[A] with GenericSetTemplate[A, ListSet] with SetLike[A, ListSet[A]]

    This class implements immutable sets using a list-based data structure.

  13. class LongMap [+T] extends Map[Long, T] with MapLike[Long, T, LongMap[T]]

    Specialised immutable map structure for long keys, based on Fast Mergeable Long Maps by Okasaki and Gill.

  14. trait Map [A, +B] extends Iterable[(A, B)] with Map[A, B] with MapLike[A, B, Map[A, B]]

    A generic trait for immutable maps.

  15. trait MapLike [A, +B, +This <: MapLike[A, B, This] with Map[A, B]] extends MapLike[A, B, This]

    A generic template for immutable maps from keys of type A to values of type B.

  16. trait MapProxy [A, +B] extends Map[A, B] with MapProxyLike[A, B, Map[A, B]]

    This is a simple wrapper class for scala.collection.immutable.Map.

  17. class NumericRange [T] extends IndexedSeq[T]

    NumericRange is a more generic version of the Range class which works with arbitrary types.

  18. class PagedSeq [T] extends IndexedSeq[T]

    An implementation of lazily computed sequences, where elements are stored in pages, i.e. arrays of fixed size.

  19. class Queue [+A] extends LinearSeq[A] with GenericTraversableTemplate[A, Queue] with LinearSeqLike[A, Queue[A]]

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

  20. class Range extends IndexedSeq[Int]

    The Range class represents integer values in range [start;end) with non-zero step value step.

  21. class RedBlack [A] extends AnyRef

    A base class containing the implementations for TreeMaps and TreeSets.

  22. trait Seq [+A] extends Iterable[A] with Seq[A] with GenericTraversableTemplate[A, Seq] with SeqLike[A, Seq[A]]

    A subtrait of collection.Seq which represents sequences that are guaranteed immutable.

  23. trait Set [A] extends Iterable[A] with Set[A] with GenericSetTemplate[A, Set] with SetLike[A, Set[A]]

    A generic trait for immutable sets.

  24. trait SetProxy [A] extends Set[A] with SetProxyLike[A, Set[A]]

    This is a simple wrapper class for scala.collection.immutable.Set.

  25. trait SortedMap [A, +B] extends Map[A, B] with SortedMap[A, B] with MapLike[A, B, SortedMap[A, B]] with SortedMapLike[A, B, SortedMap[A, B]]

    A map whose keys are sorted.

  26. trait SortedSet [A] extends Set[A] with SortedSet[A] with SortedSetLike[A, SortedSet[A]]

    A subtrait of collection.SortedSet which represents sorted sets which cannot be mutated.

  27. class Stack [+A] extends LinearSeq[A] with GenericTraversableTemplate[A, Stack] with LinearSeqOptimized[A, Stack[A]]

    This class implements immutable stacks using a list-based data structure.

  28. class Stream [+A] extends LinearSeq[A] with GenericTraversableTemplate[A, Stream] with LinearSeqOptimized[A, Stream[A]]

    The class Stream implements lazy lists where elements are only evaluated when they are needed.

  29. trait StringLike [+Repr] extends IndexedSeqOptimized[Char, Repr] with Ordered[String]

    A trait describing stringlike collections.

  30. class StringOps extends StringLike[String]

    This class serves as a wrapper providing Strings with all the operations found in indexed sequences.

  31. trait Traversable [+A] extends Traversable[A] with GenericTraversableTemplate[A, Traversable] with TraversableLike[A, Traversable[A]] with Immutable

    A trait for traversable collections that are guaranteed immutable.

  32. class TreeHashMap extends AnyRef

  33. class TreeMap [A, +B] extends RedBlack[A] with SortedMap[A, B] with SortedMapLike[A, B, TreeMap[A, B]] with MapLike[A, B, TreeMap[A, B]]

    This class implements immutable maps using a tree.

  34. class TreeSet [A] extends RedBlack[A] with SortedSet[A] with SortedSetLike[A, TreeSet[A]]

    This class implements immutable sets using a tree.

  35. class Vector [+A] extends IndexedSeq[A] with GenericTraversableTemplate[A, Vector] with IndexedSeqLike[A, Vector[A]] with VectorPointer[A]

    attributes: final
  36. class VectorBuilder [A] extends Builder[A, Vector[A]] with VectorPointer[A]

    attributes: final
  37. class VectorIterator [+A] extends Iterator[A] with VectorPointer[A]

    attributes: final
  38. class WrappedString extends IndexedSeq[Char] with StringLike[WrappedString] with Proxy

    This class serves as a wrapper augmenting Strings with all the operations found in indexed sequences.

Value Members

  1. object BitSet extends BitSetFactory[BitSet]

    This object provides a set of operations to create immutable.BitSet values.

  2. object HashMap extends ImmutableMapFactory[HashMap]

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

  3. object HashSet extends ImmutableSetFactory[HashSet]

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

  4. object IndexedSeq extends SeqFactory[IndexedSeq]

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

  5. object IntMap extends AnyRef

    A companion object for integer maps.

  6. object Iterable extends TraversableFactory[Iterable]

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

  7. object LinearSeq extends SeqFactory[LinearSeq]

    This object provides a set of operations to create immutable.LinearSeq values.

  8. object List extends SeqFactory[List]

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

  9. object ListMap extends ImmutableMapFactory[ListMap]

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

  10. object ListSet extends ImmutableSetFactory[ListSet]

    This object provides a set of operations needed to create immutable.ListSet values.

  11. object LongMap extends AnyRef

    A companion object for long maps.

  12. object Map extends ImmutableMapFactory[Map]

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

  13. object Nil extends List[Nothing] with Product

    The empty list.

  14. object NumericRange extends AnyRef

    A companion object for numeric ranges.

  15. object PagedSeq extends AnyRef

    The PagedSeq object defines a lazy implementations of a random access sequence.

  16. object Queue extends SeqFactory[Queue]

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

  17. object Range extends AnyRef

    A companion object for the Range class.

  18. object Seq extends SeqFactory[Seq]

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

  19. object Set extends ImmutableSetFactory[Set]

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

  20. object SortedMap extends ImmutableSortedMapFactory[SortedMap]

    This object provides a set of operations needed to create sorted maps of type immutable.SortedMap.

  21. object SortedSet extends ImmutableSortedSetFactory[SortedSet]

    This object provides a set of operations needed to create sorted sets of type immutable.SortedSet.

  22. object Stack extends SeqFactory[Stack]

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

  23. object Stream extends SeqFactory[Stream]

    The object Stream provides helper functions to manipulate streams.

  24. object StringLike extends AnyRef

    A companion object for the StringLike containing some constants.

  25. object Traversable extends TraversableFactory[Traversable]

    This object provides a set of operations to create immutable.Traversable values.

  26. object TreeMap extends ImmutableSortedMapFactory[TreeMap]

    This object provides a set of operations needed to create sorted maps of type immutable.TreeMap.

  27. object TreeSet extends ImmutableSortedSetFactory[TreeSet]

    This object provides a set of operations needed to create sorted sets of type immutable.TreeSet.

  28. object Vector extends SeqFactory[Vector]

  29. object WrappedString extends AnyRef

    A companion object for wrapped strings.