Is it true the only way to get value of a Map when it has only one member and you don't know the key is with a looping construct of some kind that iterates the map?
or is there some kind of shorthand myMap.item(0) sort of thing?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…