object KeyMapping
Companion object for KeyMapping that provides implicit implementations for scala.collection.GenMap and java.util.Map.
- Source
- KeyMapping.scala
- Alphabetic
- By Inheritance
- KeyMapping
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
-   final  def !=(arg0: Any): Boolean- Definition Classes
- AnyRef → Any
 
-   final  def ##: Int- Definition Classes
- AnyRef → Any
 
-   final  def ==(arg0: Any): Boolean- Definition Classes
- AnyRef → Any
 
-   final  def asInstanceOf[T0]: T0- Definition Classes
- Any
 
-    def clone(): AnyRef- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
 
-   implicit  def convertEqualityToGenMapKeyMapping[K, V, MAP[k, v] <: GenMap[k, v]](equality: Equality[K]): KeyMapping[MAP[K, V]]Implicit conversion that converts an Equalityof typeKintoKeyMappingof typeMAP[K, V], whereMAPis a subtype ofscala.collection.GenMap.Implicit conversion that converts an Equalityof typeKintoKeyMappingof typeMAP[K, V], whereMAPis a subtype ofscala.collection.GenMap. This is required to support the explicitEqualitysyntax, for example:(Map("one" -> 1) should contain key "ONE") (after being lowerCased)(after being lowerCased)will returns anEquality[String]and this implicit conversion will convert it intoKeyMapping[Map[String, Int]].- 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
- Equalityof type- K
- returns
- KeyMappingof type- MAP[K, V]
 
-   implicit  def convertEqualityToJavaMapKeyMapping[K, V, JMAP[k, v] <: Map[k, v]](equality: Equality[K]): KeyMapping[JMAP[K, V]]Implicit conversion that converts an Equalityof typeKintoKeyMappingof typeJMAP[K, V], whereJMAPis a subtype ofjava.util.Map.Implicit conversion that converts an Equalityof typeKintoKeyMappingof typeJMAP[K, V], whereJMAPis a subtype ofjava.util.Map. This is required to support the explicitEqualitysyntax, 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 anEquality[String]and this implicit conversion will convert it intoKeyMapping[java.util.HashMap[String, Int]].- 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
- Equalityof type- K
- returns
- KeyMappingof type- JMAP[K, V]
 
-   final  def eq(arg0: AnyRef): Boolean- Definition Classes
- AnyRef
 
-    def equals(arg0: AnyRef): Boolean- Definition Classes
- AnyRef → Any
 
-    def finalize(): Unit- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
 
-   final  def getClass(): Class[_ <: AnyRef]- Definition Classes
- AnyRef → Any
- Annotations
- @native()
 
-    def hashCode(): Int- Definition Classes
- AnyRef → Any
- Annotations
- @native()
 
-   final  def isInstanceOf[T0]: Boolean- Definition Classes
- Any
 
-   implicit  def keyMappingNatureOfGenMap[K, V, MAP[k, v] <: GenMap[k, v]](implicit equality: Equality[K]): KeyMapping[MAP[K, V]]Enable KeyMappingimplementation forscala.collection.GenMap.Enable KeyMappingimplementation forscala.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
- Equalitytype class that is used to check equality of key in the- scala.collection.GenMap
- returns
- KeyMapping[MAP[K, V]]that supports- scala.collection.GenMapin- contain keysyntax
 
-   implicit  def keyMappingNatureOfJavaMap[K, V, JMAP[k, v] <: Map[k, v]](implicit equality: Equality[K]): KeyMapping[JMAP[K, V]]Enable KeyMappingimplementation forjava.util.Map.Enable KeyMappingimplementation forjava.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
- Equalitytype class that is used to check equality of key in the- java.util.Map
- returns
- KeyMapping[JMAP[K, V]]that supports- java.util.Mapin- contain- keysyntax
 
-   final  def ne(arg0: AnyRef): Boolean- Definition Classes
- AnyRef
 
-   final  def notify(): Unit- Definition Classes
- AnyRef
- Annotations
- @native()
 
-   final  def notifyAll(): Unit- Definition Classes
- AnyRef
- Annotations
- @native()
 
-   final  def synchronized[T0](arg0: => T0): T0- Definition Classes
- AnyRef
 
-    def toString(): String- Definition Classes
- AnyRef → Any
 
-   final  def wait(): Unit- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
 
-   final  def wait(arg0: Long, arg1: Int): Unit- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
 
-   final  def wait(arg0: Long): Unit- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()