Get the the first 5 elements of a Map in Java

前端 未结 0 1973
逝去的感伤
逝去的感伤 2020-11-22 01:42

I\'m making a java project for the university and i need to add in a String list the first 5 values of a Map but i can\'t seem to find a way to iterate over just 5 elements

相关标签:
回答
  • 消灭零回复
提交回复
热议问题