public void distributeAllCardsToPlayers(List<Card> deck, HashMap<String, Player> players) {

        if (0 == deck.size() % players.size()) {
            int originalDeckSize = deck.size();
            for (int i = 0; i < (originalDeckSize / players.size()); i++) {
                Iterator<Map.Entry<String, Player>> iterator = players.entrySet().iterator();
                while (iterator.hasNext()) {
                    Map.Entry<String, Player> entry = (Map.Entry) iterator.next();
                    entry.getValue().addCardToHand(deck.get(0));
                    deck.remove(0);
                }
            }
        }
    }