public void putAll ( K key , Collection < ? extends V > values ) { if ( values . isEmpty ( ) ) { return ; } key = sanitizeKey ( key ) ; List < V > list = map . get ( key ) ; if ( list == null ) { list = new ArrayList < V > ( ) ; map . put ( key , list ) ; } list . addAll ( values ) ; }
Adds multiple values to the multimap .