package compat
The collection compatibility API
- Alphabetic
- By Inheritance
- compat
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- implicit class BitSetFactoryExtensionMethods[C <: BitSet with BitSetLike[C]] extends AnyRef
-
trait
BuildFrom[-From, -A, +C] extends Any
Builds a collection of type
C
from elements of typeA
when a source collection of typeFrom
is available.Builds a collection of type
C
from elements of typeA
when a source collection of typeFrom
is available. Implicit instances ofBuildFrom
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.)
-
trait
Factory[-A, +C] extends Any
A factory that builds a collection of type
C
with elements of typeA
.A factory that builds a collection of type
C
with elements of typeA
.- A
Type of elements (e.g.
Int
,Boolean
, etc.)- C
Type of collection (e.g.
List[Int]
,TreeMap[Int, String]
, etc.)
- implicit class IterableFactoryExtensionMethods[CC[X] <: GenTraversable[X]] extends AnyRef
- type IterableOnce[+X] = TraversableOnce[X]
- implicit class MapFactoryExtensionMethods[CC[A, B] <: Map[A, B] with MapLike[A, B, CC[A, B]]] extends AnyRef
- implicit class SortedExtensionMethods[K, T <: Sorted[K, T]] extends AnyRef
- implicit final class StreamExtensionMethods[A] extends AnyVal
Value Members
- val IterableOnce: TraversableOnce.type
- implicit def arrayCompanionToCBF[A](fact: Array.type)(implicit arg0: ClassTag[A]): CanBuildFrom[Any, A, Array[A]]
- implicit def bitSetFactoryToCBF(fact: BitSetFactory[BitSet]): CanBuildFrom[Any, Int, BitSet]
- implicit def genericCompanionToCBF[A, CC[X] <: GenTraversable[X]](fact: GenericCompanion[CC]): CanBuildFrom[Any, A, CC[A]]
- implicit def immutableBitSetFactoryToCBF(fact: BitSetFactory[immutable.BitSet]): CanBuildFrom[Any, Int, ImmutableBitSetCC[Int]]
- 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]]
- implicit def mutableBitSetFactoryToCBF(fact: BitSetFactory[mutable.BitSet]): CanBuildFrom[Any, Int, MutableBitSetCC[Int]]
- 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]]
- 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]]
- object BuildFrom
- object Factory