方法collect遍历集合,使用闭包作为变换器将每个元素转换为新值。.语法(Syntax)参数(Parameters)Closure表达式。.值(Return Value)修改后的列表集合。
確定! 回上一頁