Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,19 @@
|
|||
fun main() {
|
||||
val base = HashMap<String,String>()
|
||||
val update = HashMap<String,String>()
|
||||
|
||||
base["name"] = "Rocket Skates"
|
||||
base["price"] = "12.75"
|
||||
base["color"] = "yellow"
|
||||
|
||||
update["price"] = "15.25"
|
||||
update["color"] = "red"
|
||||
update["year"] = "1974"
|
||||
|
||||
val merged = HashMap(base)
|
||||
merged.putAll(update)
|
||||
|
||||
println("base: $base")
|
||||
println("update: $update")
|
||||
println("merged: $merged")
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue