Multiple streams filter or forEach if-else

前端 未结 0 1684
遇见更好的自我
遇见更好的自我 2021-01-12 00:51

I have a small list which I have to separate into 2 lists based the value of an element. I am looking at 2 ways to do this -

  1. Either iterate the list twice using
相关标签:
回答
  • 消灭零回复
提交回复
热议问题