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