title: Can I convert a Map<String, List<Integer>> into a MultiValueMap<String, Integer>
body: <p>I am trying to convert a map into multivalue map, but I am getting the below compilation exception:</p>
  
  <p><code>Wrong 1st argument type. Found: java.util.Map&lt;java.lang.String,java.util.List&lt;java.lang.String&gt;&gt;, required: org.springframework.util.MultiValueMap&lt;java.lang.String,java.lang.String&gt; less...  Inspection info:</code></p>
  
  <p>Here is the structure:
  <code>Map&lt;String, List&lt;String&gt;&gt; tradersTradeMap</code> - >  <code>MultiValueMap&lt;String, String&gt;tradersTradeMap</code></p>
  
  <pre><code>class Trade {
  
    public String getTraderNameAfterProcesing (MultiValueMap&lt;String, String&gt; 
        tradersTradeMap){
        ..... // SOme code goes here
     }
  
  }
  
  class Customer {
  
  private Trade trade;
  
  public String Method1(){
     Map&lt;String, List&lt;String&gt;&gt; traderTradeMap = new HashMap&lt;&gt;();
     traderTradeMap.put("TraderA", Arrays.asList("SPOT","BLOCK","FORWARD"));
     traderTradeMap.put("TraderB", Arrays.asList("SPOT","BLOCK"));
  
     trade = new Trade();
     trade.getTraderNameAfterProcesing(traderTradeMap); // This line is giving exception 
  
  }
  
  }
  </code></pre>
  
  <p>Is there any simple way to do it?</p>