Learn groovy - Create a new list using collect. ... def map = [foo: 'FOO', bar: 'BAR', baz: 'BAZ'] def keys = map.collect { it.key } // ['foo', 'bar', ...
確定! 回上一頁