Packages

object Collecting

Companion object for Collecting that provides implicit implementations for the following types:

  • scala.collection.GenTraversable
  • Array
  • java.util.Collection
  • java.util.Map
Source
Collecting.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Collecting
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. implicit def collectingNatureOfArray[E]: Collecting[E, Array[E]]

    Implicit to support Collecting nature of Array.

    Implicit to support Collecting nature of Array.

    E

    the type of the element in the Array

    returns

    Collecting[E, Array[E]] that supports Array in loneElement syntax

  2. implicit def collectingNatureOfEvery[E, EVERY[e] <: Every[e]]: Collecting[E, EVERY[E]]

    Implicit to support Collecting nature of Every.

    Implicit to support Collecting nature of Every.

    E

    the type of the element in the Every

    EVERY

    any subtype of Every

    returns

    Collecting[EVERY[E]] that supports Every in loneElement syntax

  3. implicit def collectingNatureOfGenTraversable[E, TRAV[e] <: GenTraversable[e]]: Collecting[E, TRAV[E]]

    Implicit to support Collecting nature of GenTraversable.

    Implicit to support Collecting nature of GenTraversable.

    E

    the type of the element in the GenTraversable

    TRAV

    any subtype of GenTraversable

    returns

    Collecting[E, TRAV[E]] that supports GenTraversable in loneElement syntax

  4. implicit def collectingNatureOfJavaCollection[E, JCOL[e] <: Collection[e]]: Collecting[E, JCOL[E]]

    Implicit to support Collecting nature of java.util.Collection.

    Implicit to support Collecting nature of java.util.Collection.

    E

    the type of the element in the java.util.Collection

    JCOL

    any subtype of java.util.Collection

    returns

    Collecting[E, JCOL[E]] that supports java.util.Collection in loneElement syntax

  5. implicit def collectingNatureOfJavaMap[K, V, JMAP[k, v] <: Map[k, v]]: Collecting[Entry[K, V], JMAP[K, V]]

    Implicit to support Collecting nature of java.util.Map.

    Implicit to support Collecting nature of java.util.Map.

    K

    the type of the key in the java.util.Map

    V

    the type of the value in the java.util.Map

    JMAP

    any subtype of java.util.Map

    returns

    Collecting[org.scalatest.Entry[K, V], JMAP[K, V]] that supports java.util.Map in loneElement syntax

  6. implicit def collectingNatureOfString: Collecting[Char, String]

    Implicit to support Collecting nature of String.

    Implicit to support Collecting nature of String.

    returns

    Collecting[Char, String] that supports String in loneElement syntax