use java map in kotlin code example Example: make map kotlin val map = mapOf(1 to "x", 2 to "y", -1 to "zz")