Easy way to convert Iterable to Collection

前端 未结 19 2202
忘了有多久
忘了有多久 2020-11-28 01:39

In my application I use 3rd party library (Spring Data for MongoDB to be exact).

Methods of this library return Iterable, while the rest of my

相关标签:
19条回答
  • 2020-11-28 02:46

    I use FluentIterable.from(myIterable).toList() a lot.

    0 讨论(0)
提交回复
热议问题