如何在Java中按键对Map值进行排序?
“问题1”,“1” “问题9”、“1” “问题2”、“4” “问题5”、“2”
question1, question2, question3
Iterator it = paramMap.entrySet().iterator();while (it.hasNext()) { Map.Entry pairs = (Map.Entry) it.next(); questionAnswers += pairs.getKey() + ",";}
开心每一天1111
慕勒3428872
相关分类