This immutable class represents a point on an elliptic curve (EC)
in affine coordinates.
This immutable class represents a point on an elliptic curve (EC) in affine coordinates. Other coordinate systems can extend this class to represent this point in other coordinates.
Creates an ECPoint from the specified affine x-coordinate
x and affine y-coordinate y.
Creates an ECPoint from the specified affine x-coordinate x and affine y-coordinate y.
Parameters: - x - the affine x-coordinate.
- y - the affine y-coordinate.
Throws: - NullPointerException - if x or
y is null.
Compares this elliptic curve point for equality with
the specified object.
Compares this elliptic curve point for equality with the specified object.
Returns:
true if obj is an instance of
ECPoint and the affine coordinates match, false otherwise.
Parameters: - obj - the object to be compared.