title: How to initialize MultiValuedMap - apache commons library in Java
body: <p>I have key-value structure with duplicate key values. Thus, I use MultiValuedMap. Key and value types are double. However, I am not sure how to initialize this structure.</p>
  
  <pre><code>static MultiValuedMap&lt;Double, Double&gt; candidateRange;    
  // following line will generate an error
  candidateRange = new MultiValuedMap&lt;Double, Double&gt;();
  </code></pre>