collect
will apply a partial function to all elements of a Traversable
and return a different collection
collect
will apply a partial function to all elements of a Traversable
and return a different collection
转载于:https://www.cnblogs.com/lianghong881018/p/11352099.html