local numbers = _objectWrappers:wrap(_arrays:arrayOf(_plugins:loadClass("java.lang.Integer"), 1, 2, 3, 4, 5)) -- 将每个元素乘以 2, 翻倍后的数字: [2, 4, 6, 8, 10] numbers:map(function(it) return it * 2 end) :forEach(function(it) _console:log(it) end)