(List<Integer> board)
| 90 | } |
| 91 | |
| 92 | public static long boardInts2long(List<Integer> board){ |
| 93 | int[] array = board.stream().mapToInt(i->i).toArray(); |
| 94 | return boardInts2long(array); |
| 95 | } |
| 96 | |
| 97 | public static long privateHand2long(PrivateCards one_hand){ |
| 98 | return boardInts2long(new int[]{one_hand.card1,one_hand.card2}); |
no test coverage detected