public boolean equals(Object obj){
  if (this == obj)   return true;
  if (this == POINT_INFINITY)   return false;
  if (obj instanceof ECPoint) {
    return ((x.equals(((ECPoint)obj).x)) && (y.equals(((ECPoint)obj).y)));
  }
  return false;
}

public boolean equals ( Object obj ) { if ( this == obj ) return true ; if ( this == POINT_INFINITY ) return false ; if ( obj instanceof ECPoint ) { return ( ( x . equals ( ( ( ECPoint ) obj ) . x ) ) && ( y . equals ( ( ( ECPoint ) obj ) . y ) ) ) ; } return false ; }
compares this elliptic curve point for equality with the specified object .
