title: Java generic Interface performance
body: <p>Simple question, but tricky answer I guess.</p>
  
  <p>Does using Generic Interfaces hurts performance? </p>
  
  <p>Example:</p>
  
  <pre><code>public interface Stuff&lt;T&gt; {
  
      void hello(T var);
  }
  
  vs
  
  public interface Stuff {
  
      void hello(Integer var);  &lt;---- Integer used just as an example
  }
  </code></pre>
  
  <p>My first thought is that it doesn't. Generics are just part of the language and the compiler will optimize it as though there were no generics (at least in this particular case of generic interfaces).</p>
  
  <p>Is this correct?</p>