EquityCalculator(Card[] hand, Card[] board, int skip) { cardByID = new Card[cardCount]; usedCards = new boolean[cardCount]; winningBoards = 0; possibleBoards = 0; this.skip = skip; skip2 = 2; for (int i = 0; i < cardCount; i++) cardByID[i] = CardUtils.getCardByID(i); setHand(hand); if (board != null) setBoard(board); }