我有一个Collection并且需要得到它返回的第N个元素Iterator.我知道我可以在计算其Iterator元素时进行迭代.是否有第三方库(Google Guava或Apache Commons)这样做?
Rei*_*eus 10
番石榴Iterators.get可以提供帮助
提升迭代器位置+ 1次,将元素返回到位置位置.
| 归档时间: |
|
| 查看次数: |
3948 次 |
| 最近记录: |