flatMap()其实是两个方法的合并,map()好理解,主要是flattering。 Before Flattening: [[t,u], [v,w,x], [y,x]] After Flattening: [t,u,v,w,x,y,x] 其实就是把两层数组打平了。 实例 在stackoverflow上找的一个示例: What's the difference between map() and flatMap() methods inJava8?[1...