<commit_before>package cards;

import java.util.*;
import cards.Card.*;

public class Deck {
    private ArrayList<Card> cards = new ArrayList<Card>();
    private int deckPointer = 0;

    public Deck() {
        for (Rank rank : Rank.values()) {
            for (Suit suit : Card.Suit.values()) {
                cards.add(new Card(suit, rank));
            }
        }
    }

    public void shuffle() {
        deckPointer = 0;

        for (int i = 0; i < cards.size()-1; i++) {<commit_msg>Rank and Suit are now enums<commit_after>package cards;

import java.util.*;
import cards.Card.*;

public class Deck {
    private ArrayList<Card> cards = new ArrayList<Card>();
    private int deckPointer = 0;

    public Deck() {
        for (Rank rank : Rank.values()) {
            for (Suit suit : Suit.values()) {
                cards.add(new Card(suit, rank));
            }
        }
    }

    public void shuffle() {
        deckPointer = 0;

        for (int i = 0; i < cards.size()-1; i++) {
{'fraction_non_alphanumeric': 0.13713713713713713, 'fraction_numerical': 0.008008008008008008, 'mean_word_length': 1.9850746268656716, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2705457', 'n_tokens_mistral': 314, 'n_tokens_neox': 295, 'n_words': 91}