//玩家
TreeSet<Integer> one = new TreeSet<>();
TreeSet<Integer> two = new TreeSet<>();
TreeSet<Integer> three = new TreeSet<>();
//底牌
TreeSet<Integer> end = new TreeSet<>();
//发牌
for (int i = 0; i < list.size(); i++) {
if(i >= list.size()-3) {
end.add(list.get(i));
}else if (i % 3 == 0) {
one.add(list.get(i));
}else if (i % 3 == 1) {
two.add(list.get(i));
}else {
three.add(list.get(i));
}
}
/*System.out.println(one);
System.out.println(two);
System.out.println(three);
System.out.println(end);*/
lookPoker(one, map, "李蒙蒙");
lookPoker(two, map, "崔宁");
lookPoker(three, map, "张三");
lookPoker(end, map, "底牌");