MCPcopy Create free account
hub / github.com/bupticybee/TexasHoldemSolverJava / boardInts2long

Method boardInts2long

src/main/java/icybee/solver/Card.java:92–95  ·  view source on GitHub ↗
(List<Integer> board)

Source from the content-addressed store, hash-verified

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});

Callers 15

boardCards2longMethod · 0.95
privateHand2longMethod · 0.95
getRiverCombosMethod · 0.95
getRankMethod · 0.95
rangeStr2CardsMethod · 0.95
noDuplicateRangeMethod · 0.95
CfrPlusRiverSolverMethod · 0.95
terminalUtilityMethod · 0.95
noDuplicateRangeMethod · 0.95
ParallelCfrPlusSolverMethod · 0.95
terminalUtilityMethod · 0.95
terminalBestReponseMethod · 0.95

Calls 1

toStringMethod · 0.45

Tested by

no test coverage detected