let numbers = $objectWrappers.wrap($arrays.arrayOf($plugins.loadClass("java.lang.Integer"), 1, 2, 3, 4, 5)) let list = $objectWrappers.wrap($iterables.mutableListOf()) // 将数组元素添加到 LinkedList 中 numbers.toCollection(list) // 输出:List: [1, 2, 3, 4, 5] $console.log("List: ", list)