Creating an array iterator: Performance costs of list.iterator() vs stream.iterator()

后端 未结 0 1192
予麋鹿
予麋鹿 2021-01-02 08:30

So, while trying to figure out how to create an Iterator from an array, I\'ve found that there are mainly two ways to do so:

  1. Arrays.stream(array).iterator
相关标签:
回答
  • 消灭零回复
提交回复
热议问题