scala.collection

# generic

#### package generic

Source
  package.scala

Linear Supertypes
AnyRef, Any
Content Hierarchy Learn more about scaladoc diagrams
Ordering

1. Alphabetic
2. By inheritance

Inherited

1. generic
2. AnyRef
3. Any

1. Hide All
2. Show all

Learn more about member selection
Visibility

1. Public
2. All

### Type Members

1. #### trait AtomicIndexFlag extends Signalling

   A mixin trait that implements index flag behaviour using atomic integers.

2. #### trait BitSetFactory[Coll <: BitSet with BitSetLike[Coll]] extends AnyRef

3. #### type CanBuild[-Elem, +To] = CanBuildFrom[Nothing, Elem, To]

4. #### trait CanBuildFrom[-From, -Elem, +To] extends AnyRef

   A base trait for builder factories.

5. #### trait CanCombineFrom[-From, -Elem, +To] extends CanBuildFrom[From, Elem, To] with Parallel

   A base trait for parallel builder factories.

6. #### abstract class ClassTagTraversableFactory[CC[X] <: Traversable[X] with GenericClassTagTraversableTemplate[X, CC]] extends GenericClassTagCompanion[CC]

   A template for companion objects of `ClassTagTraversable` and subclasses thereof.

7. #### trait Clearable extends AnyRef

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

8. #### class DefaultSignalling extends Signalling with VolatileAbort

   This signalling implementation returns default values and ignores received signals.

9. #### class DelegatedContext extends DelegatedSignalling

   Class implementing delegated signalling.

10. #### trait DelegatedSignalling extends Signalling

    An implementation of the signalling interface using delegates.

11. #### trait FilterMonadic[+A, +Repr] extends Any

    A template trait that contains just the `map`, `flatMap`, `foreach` and `withFilter` methods of trait `TraversableLike`.

12. #### abstract class GenMapFactory[CC[A, B] <: GenMap[A, B] with GenMapLike[A, B, CC[A, B]]] extends AnyRef

    A template for companion objects of `Map` and subclasses thereof.

13. #### abstract class GenSeqFactory[CC[X] <: GenSeq[X] with GenericTraversableTemplate[X, CC]] extends GenTraversableFactory[CC]

    A template for companion objects of Seq and subclasses thereof.

14. #### abstract class GenSetFactory[CC[X] <: GenSet[X] with GenSetLike[X, CC[X]]] extends GenericCompanion[CC]

    A template for companion objects of `Set` and subclasses thereof.

15. #### abstract class GenTraversableFactory[CC[X] <: GenTraversable[X] with GenericTraversableTemplate[X, CC]] extends GenericCompanion[CC]

    A template for companion objects of `Traversable` and subclasses thereof.

16. #### abstract class GenericClassTagCompanion[+CC[X] <: Traversable[X]] extends AnyRef

    This class represents companions of classes which require ClassTags for their element types.

17. #### trait GenericClassTagTraversableTemplate[+A, +CC[X] <: Traversable[X]] extends HasNewBuilder[A, CC[A]]

    This trait represents collections classes which require class tags for their element types.

18. #### abstract class GenericCompanion[+CC[X] <: GenTraversable[X]] extends AnyRef

    A template class for companion objects of "regular" collection classes represent an unconstrained higher-kinded type.

19. #### abstract class GenericOrderedCompanion[+CC[X] <: Traversable[X]] extends AnyRef

    This class represents companions of classes which require the ordered trait for their element types.

20. #### trait GenericOrderedTraversableTemplate[+A, +CC[X] <: Traversable[X]] extends HasNewBuilder[A, CC[A]]

    This trait represents collections classes which require ordered element types.

21. #### trait GenericParCompanion[+CC[X] <: ParIterable[X]] extends AnyRef

    A template class for companion objects of parallel collection classes.

22. #### trait GenericParMapCompanion[+CC[P, Q] <: ParMap[P, Q]] extends AnyRef

23. #### trait GenericParMapTemplate[K, +V, +CC[X, Y] <: ParMap[X, Y]] extends GenericParTemplate[(K, V), ParIterable]

24. #### trait GenericParTemplate[+A, +CC[X] <: ParIterable[X]] extends GenericTraversableTemplate[A, CC] with HasNewCombiner[A, CC[A]]

    A template trait for collections having a companion.

25. #### trait GenericSeqCompanion[CC[X] <: Traversable[X]] extends GenericCompanion[CC]

26. #### trait GenericSetTemplate[A, +CC[X] <: GenSet[X]] extends GenericTraversableTemplate[A, CC]

27. #### trait GenericTraversableTemplate[+A, +CC[X] <: GenTraversable[X]] extends HasNewBuilder[A, CC[A]]

    A template class for companion objects of ``regular`` collection classes that represent an unconstrained higher-kinded type.

28. #### 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.

29. #### trait HasNewBuilder[+A, +Repr] extends Any

30. #### trait HasNewCombiner[+T, +Repr] extends AnyRef

31. #### abstract class ImmutableMapFactory[CC[A, +B] <: immutable.Map[A, B] with immutable.MapLike[A, B, CC[A, B]]] extends MapFactory[CC]

    A template for companion objects of `immutable.Map` and subclasses thereof.

32. #### abstract class ImmutableSetFactory[CC[X] <: immutable.Set[X] with SetLike[X, CC[X]]] extends SetFactory[CC]

33. #### abstract class ImmutableSortedMapFactory[CC[A, B] <: immutable.SortedMap[A, B] with SortedMapLike[A, B, CC[A, B]]] extends SortedMapFactory[CC]

    A template for companion objects of `SortedMap` and subclasses thereof.

34. #### abstract class ImmutableSortedSetFactory[CC[A] <: immutable.SortedSet[A] with SortedSetLike[A, CC[A]]] extends SortedSetFactory[CC]

    A template for companion objects of `SortedSet` and subclasses thereof.

35. #### trait IsTraversableLike[Repr] extends AnyRef

    A trait which can be used to avoid code duplication when defining extension methods that should be applicable both to existing Scala collections (i.

36. #### trait IsTraversableOnce[Repr] extends AnyRef

    Type class witnessing that a collection representation type `Repr` has elements of type `A` and has a conversion to `GenTraversableOnce[A]`.

37. #### trait IterableForwarder[+A] extends Iterable[A] with TraversableForwarder[A]

    This trait implements a forwarder for iterable objects.

38. #### abstract class MapFactory[CC[A, B] <: Map[A, B] with MapLike[A, B, CC[A, B]]] extends GenMapFactory[CC]

    A template for companion objects of `Map` and subclasses thereof.

39. #### abstract class MutableMapFactory[CC[A, B] <: mutable.Map[A, B] with mutable.MapLike[A, B, CC[A, B]]] extends MapFactory[CC]

    A template for companion objects of `mutable.Map` and subclasses thereof.

40. #### abstract class MutableSetFactory[CC[X] <: mutable.Set[X] with mutable.SetLike[X, CC[X]]] extends SetFactory[CC]

41. #### abstract class MutableSortedSetFactory[CC[A] <: mutable.SortedSet[A] with SortedSetLike[A, CC[A]] with mutable.Set[A] with mutable.SetLike[A, CC[A]]] extends SortedSetFactory[CC]

42. #### abstract class OrderedTraversableFactory[CC[X] <: Traversable[X] with GenericOrderedTraversableTemplate[X, CC]] extends GenericOrderedCompanion[CC]

43. #### abstract class ParFactory[CC[X] <: ParIterable[X] with GenericParTemplate[X, CC]] extends GenTraversableFactory[CC] with GenericParCompanion[CC]

    A template class for companion objects of `ParIterable` and subclasses thereof.

44. #### abstract class ParMapFactory[CC[X, Y] <: ParMap[X, Y] with ParMapLike[X, Y, CC[X, Y], _]] extends GenMapFactory[CC] with GenericParMapCompanion[CC]

    A template class for companion objects of `ParMap` and subclasses thereof.

45. #### abstract class ParSetFactory[CC[X] <: ParSet[X] with ParSetLike[X, CC[X], _] with GenericParTemplate[X, CC]] extends GenSetFactory[CC] with GenericParCompanion[CC]

46. #### abstract class SeqFactory[CC[X] <: Seq[X] with GenericTraversableTemplate[X, CC]] extends GenSeqFactory[CC] with TraversableFactory[CC]

    A template for companion objects of Seq and subclasses thereof.

47. #### trait SeqForwarder[+A] extends Seq[A] with IterableForwarder[A]

    This class implements a forwarder for sequences.

48. #### abstract class SetFactory[CC[X] <: Set[X] with SetLike[X, CC[X]]] extends GenSetFactory[CC] with GenericSeqCompanion[CC]

49. #### trait Shrinkable[-A] extends AnyRef

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

50. #### trait Signalling extends AnyRef

    A message interface serves as a unique interface to the part of the collection capable of receiving messages from a different task.

51. #### trait Sizing extends AnyRef

    A trait for objects which have a size.

52. #### trait Sorted[K, +This <: Sorted[K, This]] extends AnyRef

    Any collection (including maps) whose keys (or elements) are ordered.

53. #### abstract class SortedMapFactory[CC[A, B] <: SortedMap[A, B] with SortedMapLike[A, B, CC[A, B]]] extends AnyRef

    A template for companion objects of mutable.

54. #### abstract class SortedSetFactory[CC[A] <: SortedSet[A] with SortedSetLike[A, CC[A]]] extends AnyRef

    A template for companion objects of Set and subclasses thereof.

55. #### trait Subtractable[A, +Repr <: Subtractable[A, Repr]] extends AnyRef

    This trait represents collection-like objects that can be reduced using a '+' operator.

56. #### class TaggedDelegatedContext extends DelegatedContext

    Class implementing delegated signalling, but having its own distinct `tag`.

57. #### trait TraversableFactory[CC[X] <: Traversable[X] with GenericTraversableTemplate[X, CC]] extends GenTraversableFactory[CC] with GenericSeqCompanion[CC]

    A template for companion objects of `Traversable` and subclasses thereof.

58. #### trait TraversableForwarder[+A] extends Traversable[A]

    This trait implements a forwarder for traversable objects.

59. #### trait VolatileAbort extends Signalling

    A mixin trait that implements abort flag behaviour using volatile variables.

60. #### type ClassManifestTraversableFactory[CC[X] <: Traversable[X] with GenericClassManifestTraversableTemplate[X, CC]] = ClassTagTraversableFactory[CC]

    Annotations
      @deprecated
    Deprecated

      (Since version 2.10.0) use ClassTagTraversableFactory instead

61. #### type GenericClassManifestCompanion[+CC[X] <: Traversable[X]] = GenericClassTagCompanion[CC]

    Annotations
      @deprecated
    Deprecated

      (Since version 2.10.0) use GenericClassTagCompanion instead

62. #### type GenericClassManifestTraversableTemplate[+A, +CC[X] <: Traversable[X]] = GenericClassTagTraversableTemplate[A, CC]

    Annotations
      @deprecated
    Deprecated

      (Since version 2.10.0) use GenericClassTagTraversableTemplate instead

### Value Members

1. #### object IdleSignalling extends DefaultSignalling

   An object that returns default values and ignores received signals.

2. #### object IsTraversableLike

3. #### object IsTraversableOnce

4. #### object SliceInterval

### Inherited from AnyRef

### Inherited from Any

### Ungrouped