Code example for HashMultimap

Methods: put

0
     * @param value the value  
     */ 
    public void put(K key, V value) {
 
        m_forwardMap.put(key, value);
        m_reverseMap.put(value, key);
 
    } 
 
    /** 
     * Removes the entry with the given key.<p> 
     *  
     * @param key the key  
     */ 
    public void remove(K key) {
 
        V removedValue = m_forwardMap.remove(key);
        if (removedValue != null) {
            m_reverseMap.remove(removedValue, key);
        } 
Connect your IDE to all the code out there  Get Codota for Java