title: Java HashMap not working in Processing
body: <p>I'm trying to do a simple Java HashMap in Processing. </p>
  
  <p>I can't see anything wrong but I'm still getting an error. </p>
  
  <pre><code>//for hashmap (dictionary)
  import java.util.Map;
  import java.util.HashMap;
  
  //scales
  HashMap&lt;String,String&gt; scalesList = new HashMap&lt;String,String&gt;();
  scalesList.put("C Maj","cmaj.xml");
  </code></pre>
  
  <p><a href="http://i.stack.imgur.com/u2436.png" rel="nofollow">These are the errors I'm getting.</a></p>
  
  <p>Any help would be great.</p>
  
  <p>Thanks in advance,
  Luke</p>