<commit_before>package galileo.dataset;

import java.util.Collection;

/**
 * Defines a very basic map that consists of Key, Value pairs wherein the Key
 * can be ascertained by the Value directly.
 *
 * @author malensek
 */
public interface SimpleMap<K, V> {

    /**
     * Places an item in this data structure.
     */
    public void put(V item);

    /**
     * Retrieves an item from this data structure.
     *
     * @param key Key of the item to retrieve; for instance, the item's name.
     */
    public V get(K key);

<commit_msg>Enforce ByteSerializble values in SimpleMap<commit_after>package galileo.dataset;

import java.util.Collection;

import galileo.serialization.ByteSerializable;

/**
 * Defines a very basic map that consists of Key, Value pairs wherein the Key
 * can be ascertained by the Value directly.
 *
 * @author malensek
 */
public interface SimpleMap<K, V extends ByteSerializable> {

    /**
     * Places an item in this data structure.
     */
    public void put(V item);

    /**
     * Retrieves an item from this data structure.
     *
     * @param key Key of the item to retrieve; for instance, the item's name.
     */
    public V get(K key);


{'fraction_non_alphanumeric': 0.08830950378469302, 'fraction_numerical': 0.0, 'mean_word_length': 2.8141025641025643, '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': '5197431', 'n_tokens_mistral': 354, 'n_tokens_neox': 340, 'n_words': 140}