mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 00:21:47 +00:00
19 lines
215 B
Kotlin
Vendored
19 lines
215 B
Kotlin
Vendored
class A : HashMap<String, Double>()
|
|
|
|
fun box(): String {
|
|
val a = A()
|
|
val b = A()
|
|
|
|
a.put("", 0.0)
|
|
a.remove("")
|
|
|
|
a.putAll(b)
|
|
a.clear()
|
|
|
|
a.keys
|
|
a.values
|
|
a.entries
|
|
|
|
return "OK"
|
|
}
|