How to say two java objects are equal with case ignore?
<p>I have two java user defined java objects, how can i make these two objects to return same references with case ignore</p>

<p><strong>Sample code:</strong></p>

<pre><code>public class compare{

    private String name;
    private Integer number;
}
</code></pre>
