<commit_before>package jpower.core;

import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.Map;

public class MultiMap<K, V>
{
   private final Map<K, Collection<V>> delegate;

   public MultiMap()
   {
      delegate = new HashMap<>();
   }

   public void put(K key, Collection<V> values)
   {
      delegate.put(key, values);
   }

   public Collection<V> getAll(K key)
   {
      if (getAll().containsKey(key))
      {
         return getAll().get(key);
      }<commit_msg>Core: MultiMap - Added JavaDoc for Class<commit_after>package jpower.core;

import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.Map;

/**
 * A MultiMap is a map of a key to a list of values. This MultiMap is backed by a LinkedHashMap.
 */
public class MultiMap<K, V>
{
   private final Map<K, Collection<V>> delegate;

   public MultiMap()
   {
      delegate = new HashMap<>();
   }

   public void put(K key, Collection<V> values)
   {
      delegate.put(key, values);
   }

   public Collection<V> getAll(K key)
   {
      if (getAll().containsKey(key))
      {
         return getAll().get(key);
      }
{'fraction_non_alphanumeric': 0.12563667232597622, 'fraction_numerical': 0.0, 'mean_word_length': 2.94314381270903, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, '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': '2490381', 'n_tokens_mistral': 384, 'n_tokens_neox': 378, 'n_words': 105}