public void put(K key,V value){
		List<V> list;
		if (map.containsKey(key)){
			list=(List<V>)map.get(key);
		} else {
			list=new Vector<V>();
			map.put(key,list);
		}		
		list.add(value);		
	}
public void put ( K key , V value ) { List < V > list ; if ( map . containsKey ( key ) ) { list = ( List < V > ) map . get ( key ) ; } else { list = new Vector < V > ( ) ; map . put ( key , list ) ; } list . add ( value ) ; }
This add the element value at the end of the list pointed by key