<commit_before>// Class that represents a map from method representations to method summaries.
import java.util.HashMap;
class MethodSummaryMap {
    private HashMap<MethodSummaryKey, MethodSummary> map;

    public MethodSummaryMap() {
	map = new HashMap<MethodSummaryKey, MethodSummary>();
    }
}
<commit_msg>Added commodity functions to method summary map<commit_after>// Class that represents a map from method representations to method summaries.
import java.util.HashMap;
class MethodSummaryMap {
    private HashMap<MethodSummaryKey, MethodSummary> map;

    public MethodSummaryMap() {
	map = new HashMap<MethodSummaryKey, MethodSummary>();
    }

    public MethodSummary get(MethodSummaryKey key) {
	return map.get(key);
    }
    
    public void put(MethodSummaryKey key, MethodSummary value) {
	map.put(key, value);
    }
}

{'fraction_non_alphanumeric': 0.08353221957040573, 'fraction_numerical': 0.0, 'mean_word_length': 4.556291390728477, 'pattern_counts': {'":': 0, '<': 7, '<?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': '1520663', 'n_tokens_mistral': 223, 'n_tokens_neox': 220, 'n_words': 72}