this.curve = curve; this.x = x; this.y = y;
if ( other == this ) return true; if ( !(other instanceof ECPoint) ) return false; ECPoint o = (ECPoint)other; return x.equals(o.x) && y.equals(o.y);
return x;
return y;