标签:模拟斗地主 数字 接口 height str 创建 iter entry set
先创建集合和存入数字(person是故有自创类)

第一种1.keySet+增强for

第二种//2.keySet+Iterator

entry方法1.entry+增强for

第二种4.entry+Iterator




思路:


标签:模拟斗地主 数字 接口 height str 创建 iter entry set
原文地址:https://www.cnblogs.com/www1842564021/p/12123669.html