Sort an iterator of strings

后端 未结 3 1160
北海茫月
北海茫月 2021-01-12 17:10

I have an iterator of strings.

For sorting i need to create a list from it and sort it using Collections.sort(list).

Is there any simple way t

3条回答
提交回复
热议问题