How should i classify the nested class given in this example?
<p>I was going thru ThreadLocal class and found below example</p>

<pre><code>public class UniqueThreadIdGenerator {

 private static final AtomicInteger uniqueId = new AtomicInteger(0);

 private static final ThreadLocal &lt; Integer &gt; uniqueNum = 
     new ThreadLocal &lt; Integer &gt; () {
         @Override protected Integer initialValue() {
             return uniqueId.getAndIncrement();
     }
 };

 public static int getCurrentThreadId() {
     return uniqueId.get();
 }
} // UniqueThreadIdGenerator
</code></pre>

<p><strong>Wondering the class ThreadLocal  created above should be classified as inner class/anonymous class? Not Sure.</strong></p>
