<commit_before>package ml.puredark.hviewer.dataproviders;

import java.util.Collection;
import java.util.List;

public abstract class AbstractDataProvider<T extends DataProvider.Data> {

    public static abstract class Data {
        public abstract int getId();
    }

    public abstract int getCount();

    public abstract List getItems();

    public abstract Data getItem(int index);

    public abstract void removeItem(int position);

    public abstract void clear();

    public abstract void addItem(T item);

    public abstract void addItem(int position, T item);

    public abstract void addAll(Collection items);
}<commit_msg>Fix AbstractDataProvider<commit_after>package ml.puredark.hviewer.dataproviders;

import java.util.Collection;
import java.util.List;

public abstract class AbstractDataProvider<T extends AbstractDataProvider.Data> {

    public static abstract class Data {
        public abstract int getId();
    }

    public abstract int getCount();

    public abstract List getItems();

    public abstract Data getItem(int index);

    public abstract void removeItem(int position);

    public abstract void clear();

    public abstract void addItem(T item);

    public abstract void addItem(int position, T item);

    public abstract void addAll(Collection items);
}
{'fraction_non_alphanumeric': 0.0735632183908046, 'fraction_numerical': 0.0, 'mean_word_length': 3.984732824427481, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '2146429', 'n_tokens_mistral': 343, 'n_tokens_neox': 323, 'n_words': 121}