hs.add(h1);
hs.add(h2);
System.out.println(hs.size());
}
@Override
public int hashCode() {
System.out.println("hashcode.......");
final int prime = 31;
int result = 1;
result = prime * result + i;
result = prime * result + j;
return result;
}
@Override
public boolean equals(Object obj) {
System.out.println("equals............");
if (this == obj)
return true;
if (obj == null)
return false;
if (getClass() != obj.getClass())
return false;
HsSt other = (HsSt) obj;
if (i != other.i)
return false;
if (j != other.j)
return false;
return true;
}