Kotlin
文章平均质量分 64
滥觞LanShang
这个作者很懒,什么都没留下…
展开
-
Kotlin fold reduce 基本作用概述
目录概述foldreduce概述foldreduce原创 2021-10-08 00:11:47 · 546 阅读 · 0 评论 -
Kotlin map flatten flatMap 区别
目录mapflattenflatMapmapThe mapping transformation creates a collection from the results of a function on the elements of another collection. 如上面引用的官方文档所言,map函数的功能就是对于调用的Collection的每个元素,应用一个Transformation,然后返回一个新的Collection。官方的示例用法如下: val numbers = se原创 2021-09-29 20:42:25 · 1249 阅读 · 2 评论