进阶day04-Map集合的基本使用
This commit is contained in:
@@ -31,6 +31,7 @@ public class Test16 {
|
||||
for (String num : nums) {
|
||||
for (String color : colors) {
|
||||
String content = color + num;
|
||||
//将扑克牌,由小到大组合好,并设置对应的大小标记,用于排序
|
||||
pokers.add(new Poker(content,index++));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user