@Override
	public boolean equals(Object other){
	    if (other == null) return false;
	    if (other == this) return true;
	    if (!(other instanceof PairInt))return false;
	    PairInt otherMyClass = (PairInt)other;
	    
	    if (otherMyClass.x.equals(this.x) && otherMyClass.y.equals(this.y))
	    {
	    	return true;
	    }
	    else
	    {
	    	return false;
	    }
	}