Explain Java Notation 'new' with bracketed code
<p>I see this notation, a new operator with a class name and then bracketed code, occasionally in Android examples.  Can someone explain this?  In the example below, <em>PanChangeListener</em> is a class (or maybe an interface) and 'new' creates an instance, but what role does the bracketed code play with respect to the <em>PanChangeListener</em>?</p>

<pre><code>fType pcListener = new PanChangeListener() {

      @Override
      public void onPan(GeoPoint old, GeoPoint current) {
                         //TODO
      }
});
</code></pre>

<p>Even a name for this syntax would be useful, as I could Google it.</p>
