title: Java: Instantiate Google Collection's HashBiMap
body: <p>I'm using Eclipse, and I've added <code>google-collect.1.0-rc2.jar</code> as a referenced library. Yet somehow this still doesn't work:</p>
  <pre><code>import com.google.common.collect.HashBiMap;
  
  public class Odp {        
      //...
      
      HashBiMap&lt;Character, Integer&gt; charOcc =
          HashBiMap&lt;Character, Integer&gt;.create();    
  }
  </code></pre>
  <p>Eclipse gives the following errors:</p>
  <blockquote>
  <p>Multiple markers at this line</p>
  <ul>
  <li>HashBiMap cannot be resolved</li>
  <li>Character.Integer cannot be resolved</li>
  <li>Syntax error on token &quot;,&quot;, &quot;.&quot; expected</li>
  <li>Syntax error on token &quot;.&quot;, delete this token</li>
  <li>The method create() is undefined for class Odp</li>
  </ul>
  </blockquote>
  <p>What am I doing wrong?</p>
  <p>Other Google stuff, like Joiner, works fine. (But Joiner is not generic.)</p>