//# 0 errors, 266 messages
//#
/*
    //#MapList.java:1:1: class: com.dmdirc.util.MapList
    //#MapList.java:1:1: method: com.dmdirc.util.MapList.com.dmdirc.util.MapList__static_init
 * Copyright (c) 2006-2009 Chris Smith, Shane Mc Cormack, Gregory Holmes
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 */

package com.dmdirc.util;

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

/**
 * Wraps a Map&lt;S, List&lt;T&gt;&gt; with various convenience methods for
 * accessing the data. Implements a Map-like interface for easier transition.
 * 
 * @param <S> the type of keys maintained by this map
 * @param <T> the type of mapped values
 * @author chris
 */
public class MapList<S,T> {
    
    /** Our internal map. */
    protected final Map<S, List<T>> map;

    /**
     * Creates a new, empty MapList.
     */
    public MapList() {
    //#MapList.java:48: method: void com.dmdirc.util.MapList.com.dmdirc.util.MapList()
    //#input(void com.dmdirc.util.MapList()): this
    //#output(void com.dmdirc.util.MapList()): new HashMap(MapList#1) num objects
    //#output(void com.dmdirc.util.MapList()): this.map
    //#new obj(void com.dmdirc.util.MapList()): new HashMap(MapList#1)
    //#post(void com.dmdirc.util.MapList()): this.map == &new HashMap(MapList#1)
    //#post(void com.dmdirc.util.MapList()): new HashMap(MapList#1) num objects == 1
        map = new HashMap<S, List<T>>();
    }
    //#MapList.java:50: end of method: void com.dmdirc.util.MapList.com.dmdirc.util.MapList()

    /**
     * Creates a new MapList with the values from the specified list.
     * 
     * @param list The MapList whose values should be used
     */
    public MapList(final MapList<S,T> list) {
    //#MapList.java:57: method: void com.dmdirc.util.MapList.com.dmdirc.util.MapList(MapList)
    //#MapList.java:57: Warning: suspicious precondition
    //#    The precondition for list.__Tag is not a contiguous range of values
    //#    severity: SUPPRESSED
    //#    class: com.dmdirc.util.MapList
    //#    method: void com.dmdirc.util.MapList(MapList)
    //#    suspicious precondition index: [2]
    //#input(void com.dmdirc.util.MapList(MapList)): __Descendant_Table[com/dmdirc/util/MapList]
    //#input(void com.dmdirc.util.MapList(MapList)): __Descendant_Table[com/dmdirc/util/WeakMapList]
    //#input(void com.dmdirc.util.MapList(MapList)): __Descendant_Table[others]
    //#input(void com.dmdirc.util.MapList(MapList)): __Dispatch_Table.getMap()Ljava/util/Map;
    //#input(void com.dmdirc.util.MapList(MapList)): com/dmdirc/util/WeakMapList.__Dispatch_Table.getMap()Ljava/util/Map;
    //#input(void com.dmdirc.util.MapList(MapList)): list
    //#input(void com.dmdirc.util.MapList(MapList)): list.__Tag
    //#input(void com.dmdirc.util.MapList(MapList)): list.map
    //#input(void com.dmdirc.util.MapList(MapList)): this
    //#output(void com.dmdirc.util.MapList(MapList)): new HashMap(getMap#1) num objects
    //#output(void com.dmdirc.util.MapList(MapList)): this.map
    //#new obj(void com.dmdirc.util.MapList(MapList)): new HashMap(getMap#1)
    //#pre[1] (void com.dmdirc.util.MapList(MapList)): list != null
    //#pre[2] (void com.dmdirc.util.MapList(MapList)): list.__Tag in {com/dmdirc/util/MapList, com/dmdirc/util/WeakMapList}
    //#post(void com.dmdirc.util.MapList(MapList)): this.map == &new HashMap(getMap#1)
    //#post(void com.dmdirc.util.MapList(MapList)): new HashMap(getMap#1) num objects == 1
    //#unanalyzed(void com.dmdirc.util.MapList(MapList)): Effects-of-calling:java.util.HashMap
        map = list.getMap();
    }
    //#MapList.java:59: end of method: void com.dmdirc.util.MapList.com.dmdirc.util.MapList(MapList)

    /**
     * Determines if this MapList is empty. An empty MapList is one that either
     * contains no keys, or contains only keys which have no associated values.
     * 
     * @return True if this MapList is empty, false otherwise
     */
    public boolean isEmpty() {
        for (List<T> list : map.values()) {
    //#MapList.java:68: method: bool com.dmdirc.util.MapList.isEmpty()
    //#input(bool isEmpty()): this
    //#input(bool isEmpty()): this.map
    //#output(bool isEmpty()): return_value
    //#pre[2] (bool isEmpty()): this.map != null
    //#presumption(bool isEmpty()): java.util.Iterator:next(...)@68 != null
    //#presumption(bool isEmpty()): java.util.Map:values(...)@68 != null
    //#post(bool isEmpty()): init'ed(return_value)
    //#test_vector(bool isEmpty()): java.util.Iterator:hasNext(...)@68: {0}, {1}
    //#test_vector(bool isEmpty()): java.util.List:isEmpty(...)@69: {1}, {0}
            if (!list.isEmpty()) {
                return false;
            }
        }
        
        return true;
    //#MapList.java:74: end of method: bool com.dmdirc.util.MapList.isEmpty()
    }

    /**
     * Determines if this MapList contains the specified key.
     * 
     * @param key The key to look for
     * @return True if this MapList contains the specified key, false otherwise
     */
    public boolean containsKey(final S key) {
        return map.containsKey(key);
    //#MapList.java:84: method: bool com.dmdirc.util.MapList.containsKey(Object)
    //#input(bool containsKey(Object)): key
    //#input(bool containsKey(Object)): this
    //#input(bool containsKey(Object)): this.map
    //#output(bool containsKey(Object)): return_value
    //#pre[3] (bool containsKey(Object)): this.map != null
    //#post(bool containsKey(Object)): init'ed(return_value)
    //#MapList.java:84: end of method: bool com.dmdirc.util.MapList.containsKey(Object)
    }

    /**
     * Determines if this MapList contains the specified value as a child of
     * the specified key.
     * 
     * @param key The key to search under
     * @param value The value to look for
     * @return True if this MapList contains the specified key/value pair, 
     * false otherwise
     */
    public boolean containsValue(final S key, final T value) {
        return map.containsKey(key) && map.get(key).contains(value);
    //#MapList.java:97: method: bool com.dmdirc.util.MapList.containsValue(Object, Object)
    //#input(bool containsValue(Object, Object)): key
    //#input(bool containsValue(Object, Object)): this
    //#input(bool containsValue(Object, Object)): this.map
    //#input(bool containsValue(Object, Object)): value
    //#output(bool containsValue(Object, Object)): return_value
    //#pre[3] (bool containsValue(Object, Object)): this.map != null
    //#presumption(bool containsValue(Object, Object)): java.util.Map:get(...)@97 != null
    //#post(bool containsValue(Object, Object)): init'ed(return_value)
    //#MapList.java:97: end of method: bool com.dmdirc.util.MapList.containsValue(Object, Object)
    }

    /**
     * Retrieves the list of values associated with the specified key.
     * 
     * @param key The key whose values are being retrieved
     * @return The values belonging to the specified key
     */
    public List<T> get(final S key) {
        return map.get(key);
    //#MapList.java:107: method: List com.dmdirc.util.MapList.get(Object)
    //#input(List get(Object)): key
    //#input(List get(Object)): this
    //#input(List get(Object)): this.map
    //#output(List get(Object)): return_value
    //#pre[3] (List get(Object)): this.map != null
    //#post(List get(Object)): init'ed(return_value)
    //#MapList.java:107: end of method: List com.dmdirc.util.MapList.get(Object)
    }
    
    /**
     * Retrieves the value at the specified offset of the specified key.
     * 
     * @param key The key whose values are being retrieved
     * @param index The index of the value to retrieve
     * @return The specified value of the key
     */    
    public T get(final S key, final int index) {
        return map.get(key).get(index);
    //#MapList.java:118: method: Object com.dmdirc.util.MapList.get(Object, int)
    //#input(Object get(Object, int)): index
    //#input(Object get(Object, int)): key
    //#input(Object get(Object, int)): this
    //#input(Object get(Object, int)): this.map
    //#output(Object get(Object, int)): return_value
    //#pre[4] (Object get(Object, int)): this.map != null
    //#presumption(Object get(Object, int)): java.util.Map:get(...)@118 != null
    //#post(Object get(Object, int)): init'ed(return_value)
    //#MapList.java:118: end of method: Object com.dmdirc.util.MapList.get(Object, int)
    }    
    
    /**
     * Retrieves the list of values associated with the specified key, creating
     * the key if neccessary.
     * 
     * @param key The key to retrieve
     * @return A list of the specified key's values
     */
    public List<T> safeGet(final S key) {
        if (!map.containsKey(key)) {
    //#MapList.java:129: method: List com.dmdirc.util.MapList.safeGet(Object)
    //#input(List safeGet(Object)): key
    //#input(List safeGet(Object)): this
    //#input(List safeGet(Object)): this.map
    //#output(List safeGet(Object)): return_value
    //#pre[3] (List safeGet(Object)): this.map != null
    //#post(List safeGet(Object)): init'ed(return_value)
    //#test_vector(List safeGet(Object)): java.util.Map:containsKey(...)@129: {1}, {0}
            map.put(key, new ArrayList<T>());
        }
        
        return map.get(key);
    //#MapList.java:133: end of method: List com.dmdirc.util.MapList.safeGet(Object)
    }
    
    /**
     * Adds the specified key to the MapList.
     * 
     * @param key The key to be added
     */
    public void add(final S key) {
        safeGet(key);
    //#MapList.java:142: method: void com.dmdirc.util.MapList.add(Object)
    //#MapList.java:142: Warning: suspicious precondition
    //#    The precondition for this.__Tag is not a contiguous range of values
    //#    severity: SUPPRESSED
    //#    class: com.dmdirc.util.MapList
    //#    method: void add(Object)
    //#    suspicious precondition index: [3]
    //#input(void add(Object)): __Descendant_Table[com/dmdirc/util/MapList]
    //#input(void add(Object)): __Descendant_Table[com/dmdirc/util/WeakMapList]
    //#input(void add(Object)): __Descendant_Table[others]
    //#input(void add(Object)): __Dispatch_Table.safeGet(Ljava/lang/Object;)Ljava/util/List;
    //#input(void add(Object)): com/dmdirc/util/WeakMapList.__Dispatch_Table.safeGet(Ljava/lang/Object;)Ljava/util/List;
    //#input(void add(Object)): key
    //#input(void add(Object)): this
    //#input(void add(Object)): this.__Tag
    //#input(void add(Object)): this.map
    //#pre[3] (void add(Object)): this.__Tag in {com/dmdirc/util/MapList, com/dmdirc/util/WeakMapList}
    //#pre[4] (void add(Object)): this.map != null
    //#unanalyzed(void add(Object)): Effects-of-calling:java.util.Map:get
    //#unanalyzed(void add(Object)): Effects-of-calling:java.util.Map:containsKey
    //#unanalyzed(void add(Object)): Effects-of-calling:java.util.ArrayList
    //#unanalyzed(void add(Object)): Effects-of-calling:java.util.Map:put
    }    
    //#MapList.java:143: end of method: void com.dmdirc.util.MapList.add(Object)

    /**
     * Adds the specified value as a child of the specified key. If the key
     * didn't previous exist, it is created.
     * 
     * @param key The key to which the value is being added
     * @param value The value to be added
     */
    public void add(final S key, final T value) {
        safeGet(key).add(value);
    //#MapList.java:153: method: void com.dmdirc.util.MapList.add(Object, Object)
    //#MapList.java:153: Warning: suspicious precondition
    //#    The precondition for this.__Tag is not a contiguous range of values
    //#    severity: SUPPRESSED
    //#    class: com.dmdirc.util.MapList
    //#    method: void add(Object, Object)
    //#    suspicious precondition index: [3]
    //#input(void add(Object, Object)): __Descendant_Table[com/dmdirc/util/MapList]
    //#input(void add(Object, Object)): __Descendant_Table[com/dmdirc/util/WeakMapList]
    //#input(void add(Object, Object)): __Descendant_Table[others]
    //#input(void add(Object, Object)): __Dispatch_Table.safeGet(Ljava/lang/Object;)Ljava/util/List;
    //#input(void add(Object, Object)): com/dmdirc/util/WeakMapList.__Dispatch_Table.safeGet(Ljava/lang/Object;)Ljava/util/List;
    //#input(void add(Object, Object)): key
    //#input(void add(Object, Object)): this
    //#input(void add(Object, Object)): this.__Tag
    //#input(void add(Object, Object)): this.map
    //#input(void add(Object, Object)): value
    //#pre[3] (void add(Object, Object)): this.__Tag in {com/dmdirc/util/MapList, com/dmdirc/util/WeakMapList}
    //#pre[4] (void add(Object, Object)): this.map != null
    //#presumption(void add(Object, Object)): java.util.Map:get(...)@133 != null
    //#presumption(void add(Object, Object)): java.util.Map:get(...)@52 != null
    //#unanalyzed(void add(Object, Object)): Effects-of-calling:java.util.Map:get
    //#unanalyzed(void add(Object, Object)): Effects-of-calling:java.util.Map:containsKey
    //#unanalyzed(void add(Object, Object)): Effects-of-calling:java.util.ArrayList
    //#unanalyzed(void add(Object, Object)): Effects-of-calling:java.util.Map:put
    }
    //#MapList.java:154: end of method: void com.dmdirc.util.MapList.add(Object, Object)

    /**
     * Adds the specified set of values to the specified key. If the key
     * didn't previous exist, it is created.
     * 
     * @param key The key to which the value is being added
     * @param values The values to be added
     */    
    public void add(final S key, final Collection<T> values) {
        safeGet(key).addAll(values);
    //#MapList.java:164: method: void com.dmdirc.util.MapList.add(Object, Collection)
    //#MapList.java:164: Warning: suspicious precondition
    //#    The precondition for this.__Tag is not a contiguous range of values
    //#    severity: SUPPRESSED
    //#    class: com.dmdirc.util.MapList
    //#    method: void add(Object, Collection)
    //#    suspicious precondition index: [3]
    //#input(void add(Object, Collection)): __Descendant_Table[com/dmdirc/util/MapList]
    //#input(void add(Object, Collection)): __Descendant_Table[com/dmdirc/util/WeakMapList]
    //#input(void add(Object, Collection)): __Descendant_Table[others]
    //#input(void add(Object, Collection)): __Dispatch_Table.safeGet(Ljava/lang/Object;)Ljava/util/List;
    //#input(void add(Object, Collection)): com/dmdirc/util/WeakMapList.__Dispatch_Table.safeGet(Ljava/lang/Object;)Ljava/util/List;
    //#input(void add(Object, Collection)): key
    //#input(void add(Object, Collection)): this
    //#input(void add(Object, Collection)): this.__Tag
    //#input(void add(Object, Collection)): this.map
    //#input(void add(Object, Collection)): values
    //#pre[3] (void add(Object, Collection)): this.__Tag in {com/dmdirc/util/MapList, com/dmdirc/util/WeakMapList}
    //#pre[4] (void add(Object, Collection)): this.map != null
    //#presumption(void add(Object, Collection)): java.util.Map:get(...)@133 != null
    //#presumption(void add(Object, Collection)): java.util.Map:get(...)@52 != null
    //#unanalyzed(void add(Object, Collection)): Effects-of-calling:java.util.Map:get
    //#unanalyzed(void add(Object, Collection)): Effects-of-calling:java.util.Map:containsKey
    //#unanalyzed(void add(Object, Collection)): Effects-of-calling:java.util.ArrayList
    //#unanalyzed(void add(Object, Collection)): Effects-of-calling:java.util.Map:put
    }    
    //#MapList.java:165: end of method: void com.dmdirc.util.MapList.add(Object, Collection)

    /**
     * Removes the specified key and all of its values.
     * 
     * @param key The key to remove
     */    
    public void remove(final S key) {
        map.remove(key);
    //#MapList.java:173: method: void com.dmdirc.util.MapList.remove(Object)
    //#input(void remove(Object)): key
    //#input(void remove(Object)): this
    //#input(void remove(Object)): this.map
    //#pre[3] (void remove(Object)): this.map != null
    }
    //#MapList.java:174: end of method: void com.dmdirc.util.MapList.remove(Object)
    
    /**
     * Removes the specified value from all keys.
     * 
     * @param value The value to remove
     */
    public void removeFromAll(final T value) {
        for (List<T> list : map.values()) {
    //#MapList.java:182: method: void com.dmdirc.util.MapList.removeFromAll(Object)
    //#input(void removeFromAll(Object)): this
    //#input(void removeFromAll(Object)): this.map
    //#input(void removeFromAll(Object)): value
    //#pre[2] (void removeFromAll(Object)): this.map != null
    //#presumption(void removeFromAll(Object)): java.util.Iterator:next(...)@182 != null
    //#presumption(void removeFromAll(Object)): java.util.Map:values(...)@182 != null
    //#test_vector(void removeFromAll(Object)): java.util.Iterator:hasNext(...)@182: {0}, {1}
            list.remove(value);
        }
    }
    //#MapList.java:185: end of method: void com.dmdirc.util.MapList.removeFromAll(Object)

    /**
     * Removes the specified value from the specified key.
     * 
     * @param key The key whose value is being removed
     * @param value The value to be removed
     */
    public void remove(final S key, final T value) {
        if (map.containsKey(key)) {
    //#MapList.java:194: method: void com.dmdirc.util.MapList.remove(Object, Object)
    //#input(void remove(Object, Object)): key
    //#input(void remove(Object, Object)): this
    //#input(void remove(Object, Object)): this.map
    //#input(void remove(Object, Object)): value
    //#pre[3] (void remove(Object, Object)): this.map != null
    //#presumption(void remove(Object, Object)): java.util.Map:get(...)@195 != null
    //#test_vector(void remove(Object, Object)): java.util.Map:containsKey(...)@194: {0}, {1}
            map.get(key).remove(value);
        }
    }    
    //#MapList.java:197: end of method: void com.dmdirc.util.MapList.remove(Object, Object)

    /**
     * Entirely clears this MapList.
     */
    public void clear() {
        map.clear();
    //#MapList.java:203: method: void com.dmdirc.util.MapList.clear()
    //#input(void clear()): this
    //#input(void clear()): this.map
    //#pre[2] (void clear()): this.map != null
    }
    //#MapList.java:204: end of method: void com.dmdirc.util.MapList.clear()
    
    /**
     * Clears all values of the specified key.
     * 
     * @param key The key to be cleared
     */
    public void clear(final S key) {
        safeGet(key).clear();
    //#MapList.java:212: method: void com.dmdirc.util.MapList.clear(Object)
    //#MapList.java:212: Warning: suspicious precondition
    //#    The precondition for this.__Tag is not a contiguous range of values
    //#    severity: SUPPRESSED
    //#    class: com.dmdirc.util.MapList
    //#    method: void clear(Object)
    //#    suspicious precondition index: [3]
    //#input(void clear(Object)): __Descendant_Table[com/dmdirc/util/MapList]
    //#input(void clear(Object)): __Descendant_Table[com/dmdirc/util/WeakMapList]
    //#input(void clear(Object)): __Descendant_Table[others]
    //#input(void clear(Object)): __Dispatch_Table.safeGet(Ljava/lang/Object;)Ljava/util/List;
    //#input(void clear(Object)): com/dmdirc/util/WeakMapList.__Dispatch_Table.safeGet(Ljava/lang/Object;)Ljava/util/List;
    //#input(void clear(Object)): key
    //#input(void clear(Object)): this
    //#input(void clear(Object)): this.__Tag
    //#input(void clear(Object)): this.map
    //#pre[3] (void clear(Object)): this.__Tag in {com/dmdirc/util/MapList, com/dmdirc/util/WeakMapList}
    //#pre[4] (void clear(Object)): this.map != null
    //#presumption(void clear(Object)): java.util.Map:get(...)@133 != null
    //#presumption(void clear(Object)): java.util.Map:get(...)@52 != null
    //#unanalyzed(void clear(Object)): Effects-of-calling:java.util.Map:get
    //#unanalyzed(void clear(Object)): Effects-of-calling:java.util.Map:containsKey
    //#unanalyzed(void clear(Object)): Effects-of-calling:java.util.ArrayList
    //#unanalyzed(void clear(Object)): Effects-of-calling:java.util.Map:put
    }    
    //#MapList.java:213: end of method: void com.dmdirc.util.MapList.clear(Object)

    /**
     * Returns the set of all keys belonging to this MapList.
     * 
     * @return This MapList's keyset
     */
    public Set<S> keySet() {
        return map.keySet();
    //#MapList.java:221: method: Set com.dmdirc.util.MapList.keySet()
    //#input(Set keySet()): this
    //#input(Set keySet()): this.map
    //#output(Set keySet()): return_value
    //#pre[2] (Set keySet()): this.map != null
    //#post(Set keySet()): init'ed(return_value)
    //#MapList.java:221: end of method: Set com.dmdirc.util.MapList.keySet()
    }

    /**
     * Returns a collection of all values belonging to the specified key.
     * 
     * @param key The key whose values are being sought
     * @return A collection of values belonging to the key
     */
    public Collection<T> values(final S key) {
        return map.get(key);
    //#MapList.java:231: method: Collection com.dmdirc.util.MapList.values(Object)
    //#input(Collection values(Object)): key
    //#input(Collection values(Object)): this
    //#input(Collection values(Object)): this.map
    //#output(Collection values(Object)): return_value
    //#pre[3] (Collection values(Object)): this.map != null
    //#post(Collection values(Object)): init'ed(return_value)
    //#MapList.java:231: end of method: Collection com.dmdirc.util.MapList.values(Object)
    }
    
    /**
     * Retrieves the entry set for this MapList.
     * 
     * @return This MapList's entry set
     */
    public Set<Map.Entry<S, List<T>>> entrySet() {
        return map.entrySet();
    //#MapList.java:240: method: Set com.dmdirc.util.MapList.entrySet()
    //#input(Set entrySet()): this
    //#input(Set entrySet()): this.map
    //#output(Set entrySet()): return_value
    //#pre[2] (Set entrySet()): this.map != null
    //#post(Set entrySet()): init'ed(return_value)
    //#MapList.java:240: end of method: Set com.dmdirc.util.MapList.entrySet()
    }
    
    /**
     * Retrieves the map behind this maplist.
     * 
     * @return This MapList's map.
     */
    public Map<S, List<T>> getMap() {
        return new HashMap<S, List<T>>(map);
    //#MapList.java:249: method: Map com.dmdirc.util.MapList.getMap()
    //#input(Map getMap()): this
    //#input(Map getMap()): this.map
    //#output(Map getMap()): new HashMap(getMap#1) num objects
    //#output(Map getMap()): return_value
    //#new obj(Map getMap()): new HashMap(getMap#1)
    //#post(Map getMap()): return_value == &new HashMap(getMap#1)
    //#post(Map getMap()): new HashMap(getMap#1) num objects == 1
    //#MapList.java:249: end of method: Map com.dmdirc.util.MapList.getMap()
    }

}
    //#output(com.dmdirc.util.MapList__static_init): __Descendant_Table[com/dmdirc/util/MapList]
    //#output(com.dmdirc.util.MapList__static_init): __Dispatch_Table.add(Ljava/lang/Object;)V
    //#output(com.dmdirc.util.MapList__static_init): __Dispatch_Table.add(Ljava/lang/Object;Ljava/lang/Object;)V
    //#output(com.dmdirc.util.MapList__static_init): __Dispatch_Table.add(Ljava/lang/Object;Ljava/util/Collection;)V
    //#output(com.dmdirc.util.MapList__static_init): __Dispatch_Table.clear()V
    //#output(com.dmdirc.util.MapList__static_init): __Dispatch_Table.clear(Ljava/lang/Object;)V
    //#output(com.dmdirc.util.MapList__static_init): __Dispatch_Table.containsKey(Ljava/lang/Object;)Z
    //#output(com.dmdirc.util.MapList__static_init): __Dispatch_Table.containsValue(Ljava/lang/Object;Ljava/lang/Object;)Z
    //#output(com.dmdirc.util.MapList__static_init): __Dispatch_Table.entrySet()Ljava/util/Set;
    //#output(com.dmdirc.util.MapList__static_init): __Dispatch_Table.get(Ljava/lang/Object;)Ljava/util/List;
    //#output(com.dmdirc.util.MapList__static_init): __Dispatch_Table.get(Ljava/lang/Object;I)Ljava/lang/Object;
    //#output(com.dmdirc.util.MapList__static_init): __Dispatch_Table.getMap()Ljava/util/Map;
    //#output(com.dmdirc.util.MapList__static_init): __Dispatch_Table.isEmpty()Z
    //#output(com.dmdirc.util.MapList__static_init): __Dispatch_Table.keySet()Ljava/util/Set;
    //#output(com.dmdirc.util.MapList__static_init): __Dispatch_Table.remove(Ljava/lang/Object;)V
    //#output(com.dmdirc.util.MapList__static_init): __Dispatch_Table.remove(Ljava/lang/Object;Ljava/lang/Object;)V
    //#output(com.dmdirc.util.MapList__static_init): __Dispatch_Table.removeFromAll(Ljava/lang/Object;)V
    //#output(com.dmdirc.util.MapList__static_init): __Dispatch_Table.safeGet(Ljava/lang/Object;)Ljava/util/List;
    //#output(com.dmdirc.util.MapList__static_init): __Dispatch_Table.values(Ljava/lang/Object;)Ljava/util/Collection;
    //#post(com.dmdirc.util.MapList__static_init): __Descendant_Table[com/dmdirc/util/MapList] == &__Dispatch_Table
    //#post(com.dmdirc.util.MapList__static_init): __Dispatch_Table.add(Ljava/lang/Object;)V == &add
    //#post(com.dmdirc.util.MapList__static_init): __Dispatch_Table.add(Ljava/lang/Object;Ljava/lang/Object;)V == &add
    //#post(com.dmdirc.util.MapList__static_init): __Dispatch_Table.add(Ljava/lang/Object;Ljava/util/Collection;)V == &add
    //#post(com.dmdirc.util.MapList__static_init): __Dispatch_Table.clear()V == &clear
    //#post(com.dmdirc.util.MapList__static_init): __Dispatch_Table.clear(Ljava/lang/Object;)V == &clear
    //#post(com.dmdirc.util.MapList__static_init): __Dispatch_Table.containsKey(Ljava/lang/Object;)Z == &containsKey
    //#post(com.dmdirc.util.MapList__static_init): __Dispatch_Table.containsValue(Ljava/lang/Object;Ljava/lang/Object;)Z == &containsValue
    //#post(com.dmdirc.util.MapList__static_init): __Dispatch_Table.entrySet()Ljava/util/Set; == &entrySet
    //#post(com.dmdirc.util.MapList__static_init): __Dispatch_Table.get(Ljava/lang/Object;)Ljava/util/List; == &get
    //#post(com.dmdirc.util.MapList__static_init): __Dispatch_Table.get(Ljava/lang/Object;I)Ljava/lang/Object; == &get
    //#post(com.dmdirc.util.MapList__static_init): __Dispatch_Table.getMap()Ljava/util/Map; == &getMap
    //#post(com.dmdirc.util.MapList__static_init): __Dispatch_Table.isEmpty()Z == &isEmpty
    //#post(com.dmdirc.util.MapList__static_init): __Dispatch_Table.keySet()Ljava/util/Set; == &keySet
    //#post(com.dmdirc.util.MapList__static_init): __Dispatch_Table.remove(Ljava/lang/Object;)V == &remove
    //#post(com.dmdirc.util.MapList__static_init): __Dispatch_Table.remove(Ljava/lang/Object;Ljava/lang/Object;)V == &remove
    //#post(com.dmdirc.util.MapList__static_init): __Dispatch_Table.removeFromAll(Ljava/lang/Object;)V == &removeFromAll
    //#post(com.dmdirc.util.MapList__static_init): __Dispatch_Table.safeGet(Ljava/lang/Object;)Ljava/util/List; == &safeGet
    //#post(com.dmdirc.util.MapList__static_init): __Dispatch_Table.values(Ljava/lang/Object;)Ljava/util/Collection; == &values
    //#MapList.java:: end of method: com.dmdirc.util.MapList.com.dmdirc.util.MapList__static_init
    //#MapList.java:: end of class: com.dmdirc.util.MapList
