Two separate stream operations merged into one

前端 未结 0 992
自闭症患者
自闭症患者 2020-11-29 21:42

Is it possible (or even viable) to merge these two stream operations into a single pass solution?

int max = locations.stream()
        .map(location -> loc         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题