先创建集合和存入数字(person是故有自创类)
第一种1.keySet+增强for
第二种//2.keySet+Iterator
entry方法1.entry+增强for
第二种4.entry+Iterator
思路:
map接口和模拟斗地主
原文:https://www.cnblogs.com/www1842564021/p/12123669.html