Methods Summary |
---|
public boolean | equals(java.lang.Object obj)Compares this elliptic curve point for equality with
the specified object.
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 java.math.BigInteger | getAffineX()Returns the affine x-coordinate x .
Note: POINT_INFINITY has a null affine x-coordinate.
return x;
|
public java.math.BigInteger | getAffineY()Returns the affine y-coordinate y .
Note: POINT_INFINITY has a null affine y-coordinate.
return y;
|
public int | hashCode()Returns a hash code value for this elliptic curve point.
if (this == POINT_INFINITY) return 0;
return x.hashCode() << 5 + y.hashCode();
|