Packages

object Aggregating extends AggregatingHighPriorityImplicits

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

  • scala.collection.GenTraversable
  • String
  • Array
  • java.util.Collection
  • java.util.Map
Source
Aggregating.scala
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Aggregating
  2. AggregatingHighPriorityImplicits
  3. AggregatingStandardImplicits
  4. AggregatingJavaImplicits
  5. AggregatingImpls
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. implicit def aggregatingNatureOfArray[E](implicit equality: Equality[E]): Aggregating[Array[E]]

    Implicit to support Aggregating nature of Array.

    Implicit to support Aggregating nature of Array.

    E

    the type of the element in the Array

    equality

    Equality type class that is used to check equality of element in the Array

    returns

    Aggregating[Array[E]] that supports Array in relevant contain syntax

    Definition Classes
    AggregatingStandardImplicits
  5. implicit def aggregatingNatureOfEvery[E](implicit equality: Equality[E]): Aggregating[Every[E]]

    Implicit to support Aggregating nature of Every.

    Implicit to support Aggregating nature of Every.

    E

    the type of the element in the Every

    equality

    Equality type class that is used to check equality of element in the Every

    returns

    Aggregating[Every[E]] that supports Every in relevant contain syntax

    Definition Classes
    AggregatingStandardImplicits
  6. implicit def aggregatingNatureOfGenTraversable[E, TRAV[e] <: GenTraversable[e]](implicit equality: Equality[E]): Aggregating[TRAV[E]]

    Implicit to support Aggregating nature of GenTraversable.

    Implicit to support Aggregating nature of GenTraversable.

    E

    the type of the element in the GenTraversable

    TRAV

    any subtype of GenTraversable

    equality

    Equality type class that is used to check equality of element in the GenTraversable

    returns

    Aggregating[TRAV[E]] that supports GenTraversable in relevant contain syntax

    Definition Classes
    AggregatingStandardImplicits
  7. implicit def aggregatingNatureOfJavaCollection[E, JCOL[e] <: Collection[e]](implicit equality: Equality[E]): Aggregating[JCOL[E]]

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

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

    E

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

    JCOL

    any subtype of java.util.Collection

    equality

    Equality type class that is used to check equality of element in the java.util.Collection

    returns

    Aggregating[JCOL[E]] that supports java.util.Collection in relevant contain syntax

    Definition Classes
    AggregatingJavaImplicits
  8. implicit def aggregatingNatureOfJavaMap[K, V, JMAP[k, v] <: Map[k, v]](implicit equality: Equality[java.util.Map.Entry[K, V]]): Aggregating[JMAP[K, V]]

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

    Implicit to support Aggregating 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

    equality

    Equality type class that is used to check equality of entry in the java.util.Map

    returns

    Aggregating[JMAP[K, V]] that supports java.util.Map in relevant contain syntax

    Definition Classes
    AggregatingJavaImplicits
  9. implicit def aggregatingNatureOfMap[K, V, MAP[k, v] <: GenMap[k, v]](implicit equality: Equality[(K, V)]): Aggregating[MAP[K, V]]

    Implicit to support Aggregating nature of scala.collection.GenMap.

    Implicit to support Aggregating nature of scala.collection.GenMap.

    K

    the type of the key in the scala.collection.GenMap

    V

    the type of the value in the scala.collection.GenMap

    MAP

    any subtype of scala.collection.GenMap

    equality

    Equality type class that is used to check equality of entry in the scala.collection.GenMap

    returns

    Aggregating[MAP[K, V]] that supports scala.collection.GenMap in relevant contain syntax

    Definition Classes
    AggregatingHighPriorityImplicits
  10. implicit def aggregatingNatureOfString(implicit equality: Equality[Char]): Aggregating[String]

    Implicit to support Aggregating nature of String.

    Implicit to support Aggregating nature of String.

    equality

    Equality type class that is used to check equality of Char in the String

    returns

    Aggregating[String] that supports String in relevant contain syntax

    Definition Classes
    AggregatingStandardImplicits
  11. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  12. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  13. implicit def convertEqualityToArrayAggregating[E](equality: Equality[E]): Aggregating[Array[E]]

    Implicit conversion that converts an Equality of type E into Aggregating of type Array[E].

    Implicit conversion that converts an Equality of type E into Aggregating of type Array[E]. This is required to support the explicit Equality syntax, for example:

    (Array("hi") should contain ("HI")) (after being lowerCased)
    

    (after being lowerCased) will returns an Equality[String] and this implicit conversion will convert it into Aggregating[Array[String]].

    E

    type of elements in the Array

    equality

    Equality of type E

    returns

    Aggregating of type Array[E]

    Definition Classes
    AggregatingStandardImplicits
  14. implicit def convertEqualityToEveryAggregating[E](equality: Equality[E]): Aggregating[Every[E]]

    Implicit conversion that converts an Equality of type E into Aggregating of type Every[E].

    Implicit conversion that converts an Equality of type E into Aggregating of type Every[E]. This is required to support the explicit Equality syntax, for example:

    (Every("hi") should contain ("HI")) (after being lowerCased)
    

    (after being lowerCased) will returns an Equality[String] and this implicit conversion will convert it into Aggregating[Every[String]].

    E

    type of elements in the Every

    equality

    Equality of type E

    returns

    Aggregating of type Every[E]

    Definition Classes
    AggregatingStandardImplicits
  15. implicit def convertEqualityToGenTraversableAggregating[E, TRAV[e] <: GenTraversable[e]](equality: Equality[E]): Aggregating[TRAV[E]]

    Implicit conversion that converts an Equality of type E into Aggregating of type TRAV[E], where TRAV is a subtype of GenTraversable.

    Implicit conversion that converts an Equality of type E into Aggregating of type TRAV[E], where TRAV is a subtype of GenTraversable. This is required to support the explicit Equality syntax, for example:

    (List("hi") should contain ("HI")) (after being lowerCased)
    

    (after being lowerCased) will returns an Equality[String] and this implicit conversion will convert it into Aggregating[List[String]].

    E

    type of elements in the GenTraversable

    TRAV

    subtype of GenTraversable

    equality

    Equality of type E

    returns

    Aggregating of type TRAV[E]

    Definition Classes
    AggregatingStandardImplicits
  16. implicit def convertEqualityToJavaCollectionAggregating[E, JCOL[e] <: Collection[e]](equality: Equality[E]): Aggregating[JCOL[E]]

    Implicit conversion that converts an Equality of type E into Aggregating of type JCOL[E], where JCOL is a subtype of java.util.Collection.

    Implicit conversion that converts an Equality of type E into Aggregating of type JCOL[E], where JCOL is a subtype of java.util.Collection. This is required to support the explicit Equality syntax, for example:

    val javaList = new java.util.ArrayList[String]()
    javaList.add("hi")
    (javaList should contain ("HI")) (after being lowerCased)
    

    (after being lowerCased) will returns an Equality[String] and this implicit conversion will convert it into Aggregating[java.util.ArrayList[String]].

    E

    type of elements in the java.util.Collection

    JCOL

    subtype of java.util.Collection

    equality

    Equality of type E

    returns

    Aggregating of type JCOL[E]

    Definition Classes
    AggregatingJavaImplicits
  17. implicit def convertEqualityToJavaMapAggregating[K, V, JMAP[k, v] <: Map[k, v]](equality: Equality[java.util.Map.Entry[K, V]]): Aggregating[JMAP[K, V]]

    Implicit conversion that converts an Equality of type java.util.Map.Entry[K, V] into Aggregating of type JMAP[K, V], where JMAP is a subtype of java.util.Map.

    Implicit conversion that converts an Equality of type java.util.Map.Entry[K, V] into Aggregating of type JMAP[K, V], where JMAP is a subtype of java.util.Map. This is required to support the explicit Equality syntax, for example:

    val javaMap = new java.util.HashMap[Int, String]()
    javaMap.put(1, "one")
    // lowerCased needs to be implemented as Normalization[java.util.Map.Entry[K, V]]
    (javaMap should contain (Entry(1, "ONE"))) (after being lowerCased)
    

    (after being lowerCased) will returns an java.util.Map.Entry[Int, String] and this implicit conversion will convert it into Aggregating[java.util.HashMap[Int, String]].

    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

    equality

    Equality of type java.util.Map.Entry[K, V]

    returns

    Aggregating of type JMAP[K, V]

    Definition Classes
    AggregatingJavaImplicits
  18. implicit def convertEqualityToMapAggregating[K, V, MAP[k, v] <: GenMap[k, v]](equality: Equality[(K, V)]): Aggregating[GenMap[K, V]]

    Implicit conversion that converts an Equality of type Tuple2[K, V] into Aggregating of type MAP[K, V], where MAP is a subtype of scala.collection.GenMap.

    Implicit conversion that converts an Equality of type Tuple2[K, V] into Aggregating of type MAP[K, V], where MAP is a subtype of scala.collection.GenMap. This is required to support the explicit Equality syntax, for example:

    val map = Map(1 -> "one")
    // lowerCased needs to be implemented as Normalization[Tuple2[K, V]]
    (map should contain ((1, "ONE"))) (after being lowerCased)
    

    (after being lowerCased) will returns an Tuple2[Int, String] and this implicit conversion will convert it into Aggregating[scala.collection.GenMap[Int, String]].

    K

    the type of the key in the scala.collection.GenMap

    V

    the type of the value in the scala.collection.GenMap

    MAP

    any subtype of scala.collection.GenMap

    equality

    Equality of type Tuple2[K, V]

    returns

    Aggregating of type MAP[K, V]

    Definition Classes
    AggregatingHighPriorityImplicits
  19. implicit def convertEqualityToStringAggregating(equality: Equality[Char]): Aggregating[String]

    Implicit conversion that converts an Equality of type Char into Aggregating of type String.

    Implicit conversion that converts an Equality of type Char into Aggregating of type String. This is required to support the explicit Equality syntax, for example:

    // lowerCased needs to be implemented as Normalization[Char]
    ("hi hello" should contain ('E')) (after being lowerCased)
    

    (after being lowerCased) will returns an Equality[Char] and this implicit conversion will convert it into Aggregating[String].

    equality

    Equality of type Char

    returns

    Aggregating of type String

    Definition Classes
    AggregatingStandardImplicits
  20. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  22. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  23. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  24. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  25. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  26. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  27. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  28. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  29. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  30. def toString(): String
    Definition Classes
    AnyRef → Any
  31. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  32. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  33. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AggregatingImpls

Inherited from AnyRef

Inherited from Any

Ungrouped