title: Inner Class with parameter of Outer Class Type
body: <p>I would like to create an inner class parametrized on the type of the outer class.</p>
  
  <p>I should say first that I realize there may be a better way to achieve something like my desired result, and I am open to suggestions there, but I'll describe the situation as it stands:</p>
  
  <p>I have a class <code>Node&lt;T&gt;</code> and an attempt at an inner class declaration as below:</p>
  
  <pre><code>public class Node&lt;T&gt; {
      ...
  
      class NodeIterator&lt;Node&lt;T&gt;&gt; implements Iterator {
          ...
      }
  }
  </code></pre>
  
  <p>This causes a syntax error during compilation, and I infer that this is due to the my use of the outer class, although I do not know this for sure.</p>
  
  <p>Thanks!</p>