Use getValue method to receive value by key in map variable

This commit is contained in:
Vitaliy.Bibaev
2017-11-16 16:40:17 +03:00
committed by Yan Zhulanow
parent 872cb225f0
commit 6be340f079
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ run {
var i: kotlin.Int = 0
for (key in map.keys) {
keys[i] = key
values[i] = map[key]
values[i] = map.getValue(key)
i++
}
resultArray = kotlin.arrayOf<kotlin.Any?>(keys, values)