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