摘要:
Stream 流是用来简化集合类库或者数组API的弊端。 Stream 其实是一个传送带,元素在上面可以背操作,支持链式编程。 1.Stream 流的获取 Collection 集合的Stream()方法 Map 集合 map.keySet.Stream()键流 map.values.Stream( 阅读全文
posted @ 2022-01-27 22:34
信尚
阅读(104)
评论(0)
推荐(0)