How to get the size of a Stream after applying a filter by lambda expression?

前端 未结 0 1873
伪装坚强ぢ
伪装坚强ぢ 2021-02-11 13:34

Consider the following code:

List locales = Arrays.asList(
    new Locale(\"en\", \"US\"),
    new Locale(\"ar\"),
    new Locale(\"en\", \"GB\")
)         


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