Some hacky API tweaks to conform with new stdlib APIs.
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
package kotlin
|
||||
|
||||
import java.util.Map as JMap
|
||||
/** Provides [] access to maps */
|
||||
fun <K, V> JMap<K, V>.set(key : K, value : V) = this.put(key, value)
|
||||
Reference in New Issue
Block a user