Implicit conversion that converts an Equality of type V
into ValueMapping of type MAP[K, V], where MAP is a subtype of scala.collection.GenMap.
Implicit conversion that converts an Equality of type V
into ValueMapping 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:
(Map(1 -> "one") should contain value "ONE") (after being lowerCased)
(after being lowerCased) will returns an Equality[String]
and this implicit conversion will convert it into ValueMapping[Map[Int, String]].
the type of the key in the scala.collection.GenMap
the type of the value in the scala.collection.GenMap
any subtype of scala.collection.GenMap
Equality of type V
ValueMapping of type MAP[K, V]
Implicit conversion that converts an Equality of type V
into ValueMapping of type JMAP[K, V], where JMAP is a subtype of java.util.Map.
Implicit conversion that converts an Equality of type V
into ValueMapping 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") (javaMap should contain value "ONE") (after being lowerCased)
(after being lowerCased) will returns an Equality[String]
and this implicit conversion will convert it into ValueMapping[java.util.HashMap[Int, String]].
the type of the key in the java.util.Map
the type of the value in the java.util.Map
any subtype of java.util.Map
Equality of type V
ValueMapping of type JMAP[K, V]
Enable ValueMapping implementation for scala.collection.GenMap.
Enable ValueMapping implementation for scala.collection.GenMap.
the type of the key in the scala.collection.GenMap
the type of the value in the scala.collection.GenMap
any subtype of scala.collection.GenMap
Equality type class that is used to check equality of value in the scala.collection.GenMap
ValueMapping[MAP[K, V]] that supports scala.collection.GenMap in contain value syntax
Enable ValueMapping implementation for java.util.Map.
Enable ValueMapping implementation for java.util.Map.
the type of the key in the java.util.Map
the type of the value in the java.util.Map
any subtype of java.util.Map
Equality type class that is used to check equality of value in the java.util.Map
ValueMapping[JMAP[K, V]] that supports java.util.Map in contain value syntax
Companion object for
ValueMappingthat provides implicit implementations forscala.collection.GenMapandjava.util.Map.