reduce

化约/折叠

1、reduce

对于原始集合里的每个元素,作用于当前积累的结果上。

/foldLeft

Last updated