title: how to create a new map with constructor?
body: <p>I am wanting to do two things</p>
  
  <ol>
  <li><p>Create a private instance variable which is a map</p></li>
  <li><p>To create an empty instance in my constructor that impliments a map and assigns it to the previous private instance variable.</p></li>
  </ol>
  
  <p>The Private instance I have is</p>
  
  <pre><code>private final Map&lt;Character, SortedSet&lt;String&gt;&gt; thesaurus = 
                        new HashMap &lt;Character, SortedSet&lt;String&gt;&gt;();
  </code></pre>
  
  <p>but how would create an instance variable in the constructor that would reference the private variable thesaurus upon the constructors creation.</p>
  
  <p>For example </p>
  
  <pre><code>public class Book{
  
      private final Map&lt;Character, SortedSet&lt;String&gt;&gt; thesaurus = 
                             new HashMap &lt;Character, SortedSet&lt;String&gt;&gt;();
  
  public Book(){
  
      super();    
      /* What do i put here as an empty instance 
       * variable that implements a map and how 
       * do i assign it to thesaurus? 
       */
  }
  </code></pre>