Converting a collection to Map by sorting it using java 8 streams

前端 未结 2 1935
礼貌的吻别
礼貌的吻别 2020-12-31 04:12

I have a list that I need to custom sort and then convert to a map with its Id vs. name map.

Here is my code:

Map map = new Link         


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