Package

scala.collection

compat

Permalink

package compat

The collection compatibility API

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. compat
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. implicit class BitSetFactoryExtensionMethods[C <: BitSet with BitSetLike[C]] extends AnyRef

    Permalink
  2. trait BuildFrom[-From, -A, +C] extends Any

    Permalink

    Builds a collection of type C from elements of type A when a source collection of type From is available.

    Builds a collection of type C from elements of type A when a source collection of type From is available. Implicit instances of BuildFrom are available for all collection types.

    From

    Type of source collection

    A

    Type of elements (e.g. Int, Boolean, etc.)

    C

    Type of collection (e.g. List[Int], TreeMap[Int, String], etc.)

  3. trait Factory[-A, +C] extends Any

    Permalink

    A factory that builds a collection of type C with elements of type A.

    A factory that builds a collection of type C with elements of type A.

    A

    Type of elements (e.g. Int, Boolean, etc.)

    C

    Type of collection (e.g. List[Int], TreeMap[Int, String], etc.)

  4. implicit class IterableFactoryExtensionMethods[CC[X] <: GenTraversable[X]] extends AnyRef

    Permalink
  5. type IterableOnce[+X] = TraversableOnce[X]

    Permalink
  6. implicit class MapFactoryExtensionMethods[CC[A, B] <: Map[A, B] with MapLike[A, B, CC[A, B]]] extends AnyRef

    Permalink
  7. implicit class SortedExtensionMethods[K, T <: Sorted[K, T]] extends AnyRef

    Permalink
  8. implicit final class StreamExtensionMethods[A] extends AnyVal

    Permalink

Value Members

  1. object BuildFrom

    Permalink
  2. object Factory

    Permalink
  3. val IterableOnce: TraversableOnce.type

    Permalink
  4. implicit def arrayCompanionToCBF[A](fact: Array.type)(implicit arg0: ClassTag[A]): CanBuildFrom[Any, A, Array[A]]

    Permalink
  5. implicit def bitSetFactoryToCBF(fact: BitSetFactory[BitSet]): CanBuildFrom[Any, Int, BitSet]

    Permalink
  6. implicit def genericCompanionToCBF[A, CC[X] <: GenTraversable[X]](fact: GenericCompanion[CC]): CanBuildFrom[Any, A, CC[A]]

    Permalink
  7. package immutable

    Permalink
  8. implicit def immutableBitSetFactoryToCBF(fact: BitSetFactory[immutable.BitSet]): CanBuildFrom[Any, Int, ImmutableBitSetCC[Int]]

    Permalink
  9. implicit def mapFactoryToCBF[K, V, CC[A, B] <: Map[A, B] with MapLike[A, B, CC[A, B]]](fact: MapFactory[CC]): CanBuildFrom[Any, (K, V), CC[K, V]]

    Permalink
  10. implicit def mutableBitSetFactoryToCBF(fact: BitSetFactory[mutable.BitSet]): CanBuildFrom[Any, Int, MutableBitSetCC[Int]]

    Permalink
  11. implicit def sortedMapFactoryToCBF[K, V, CC[A, B] <: SortedMap[A, B] with SortedMapLike[A, B, CC[A, B]]](fact: SortedMapFactory[CC])(implicit arg0: Ordering[K]): CanBuildFrom[Any, (K, V), CC[K, V]]

    Permalink
  12. implicit def sortedSetCompanionToCBF[A, CC[X] <: SortedSet[X] with SortedSetLike[X, CC[X]]](fact: SortedSetFactory[CC])(implicit arg0: Ordering[A]): CanBuildFrom[Any, A, CC[A]]

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped