Java same erasure compile time error
<p>I have two methods in same class:</p>

<pre><code>public static Set&lt;Type A&gt; valueOf (Set&lt;Type B&gt;)
{}

public static Set&lt;Type A&gt; valueOf (Set&lt;Type B&gt;)
{}
</code></pre>

<p>I am getting same erasure compile time error. How do I resolve this?</p>
