title: Java Generic Interface Return Generics
body: <p>I found this code from a tutorial and I am guessing this method <code>getUriBase</code> return type is <code>String</code>, but not clear what part <code>&lt;T extends IEntity&gt;</code> is playing in this method and why it is placed in the beginning? </p>
  
  <pre><code>public interface IUriMapper {
      &lt;T extends IEntity&gt; String getUriBase(final Class&lt;T&gt; clazz);
  }
  </code></pre>