local numbers1 = _objectWrappers:wrap(_arrays:arrayOf(_plugins:loadClass("java.lang.Integer"), 1, 2, 3, 4, 5)) local numbers2 = _arrays:arrayOf(_plugins:loadClass("java.lang.Integer"), 3, 4, 5, 6, 7) -- 查找两个数组的交集,两个数组的交集: [3, 4, 5] numbers1:intersect(_arrays:toList(numbers2)):forEach(function(it) _console:log(it) end)