3 ms·
val list = listOf('a', 'b', 'c') val map = hashMapOf( "John" to "Doe", "Jane" to "Smith" ) Seems pretty non-ridiculous to me. Maybe you were using an old
by dbsmith83 6y ago
val list = listOf('a', 'b', 'c')
val map = hashMapOf(
"John" to "Doe",
"Jane" to "Smith"
)
Seems pretty non-ridiculous to me. Maybe you were using an old version? I guess you can switch now :)