public class ECPoint extends Object
| Modifier and Type | Field and Description |
|---|---|
static ECPoint |
POINT_INFINITY
这就定义了无穷远点。
|
| Constructor and Description |
|---|
ECPoint(BigInteger x, BigInteger y)
创建从指定的仿射坐标
x和仿射坐标
y一ecpoint。
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
将此椭圆曲线点与指定的对象进行比较。
|
BigInteger |
getAffineX()
返回
x仿射坐标。
|
BigInteger |
getAffineY()
返回
y仿射坐标。
|
int |
hashCode()
返回此椭圆曲线点的哈希代码值。
|
public static final ECPoint POINT_INFINITY
public ECPoint(BigInteger x, BigInteger y)
x和仿射坐标
y一ecpoint。
x -仿射坐标。
y -仿射坐标。
NullPointerException -如果
x或
y是空的。
public BigInteger getAffineX()
x。注:point_infinity具有空仿射坐标。
public BigInteger getAffineY()
y仿射坐标。注:point_infinity具有空仿射坐标。
public boolean equals(Object obj)
equals 方法重写,继承类
Object
obj要比较的对象。
obj是ecpoint实例和仿射坐标匹配真,否则为假。
Object.hashCode(),
HashMap
public int hashCode()
hashCode 方法重写,继承类
Object
Object.equals(java.lang.Object),
System.identityHashCode(java.lang.Object)
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.