我有以下几对
val mItemArray : ArrayList<Pair<Long, String>> = arrayListOf()
I/System.out: [Pair{256 yeet}, Pair{128 yeah_boy}, Pair{64 spaghet}, Pair{32 screaming_kid}, Pair{16 nice}, Pair{8 leeroy}, Pair{4 wow}, Pair{2 damn_son}, Pair{1 baby_a_triple}]
var index = 0
var uniqueID = 1L
for (item in rawItems) {
mItemArray.add(index, Pair(uniqueID, item.name))
println(item.name)
index += index
uniqueID += uniqueID
}