Equals() method help
<p>I need to write an equals() method for the teams class that is consistent with the provided hashcode method</p>

<p>HashCode method</p>

<pre><code> public int hashCode()
   {
      return this.getPro().hashCode() 
             + this.getTeam().hashCode(); 
   }
</code></pre>

<p>My equals method, but wont work</p>

<pre><code>public boolean equals(Object obj)
   {
     ClassName pro = (ClassName) obj;
     return (this.getPro().hashCode() == pro.getPro());
             (this.getTeam().hashCode() == pro.getTeam());
   }
</code></pre>

<p>Any help would be good</p>
