local numbers = _objectWrappers:wrap(_arrays:arrayOf(_plugins:loadClass("java.lang.Integer"), 1, 2, 3, 4, 5)) -- 反转数组本身 numbers:reverse(1, 3) -- 输出:反转后的数组: [1,3,2,4,5] numbers:forEach(function(it) _console:log(it) end)