Package ch.bitagent.bitcoin.lib.ecc
Class Point
- java.lang.Object
-
- ch.bitagent.bitcoin.lib.ecc.Point
-
-
Constructor Summary
Constructors Constructor Description Point(int x, int y, int a, int b)Constructor for Point.Point(PointOperators x, PointOperators y, PointOperators a, PointOperators b)Constructor for Point.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Pointadd(Point other)add.booleaneq(Point other)eq.PointOperatorsgetA()Getter for the fielda.PointOperatorsgetB()Getter for the fieldb.static IntgetNum(PointOperators po)static IntgetPrime(PointOperators po)PointOperatorsgetX()Getter for the fieldx.PointOperatorsgetY()Getter for the fieldy.Pointmul(Int coefficient)mul.booleanne(Point other)ne.StringtoString()
-
-
-
Constructor Detail
-
Point
public Point(PointOperators x, PointOperators y, PointOperators a, PointOperators b)
Constructor for Point.
- Parameters:
x- aPointOperatorsobjecty- aPointOperatorsobjecta- aPointOperatorsobjectb- aPointOperatorsobject
-
Point
public Point(int x, int y, int a, int b)Constructor for Point.
- Parameters:
x- a inty- a inta- a intb- a int
-
-
Method Detail
-
getX
public PointOperators getX()
Getter for the field
x.- Returns:
- a
PointOperatorsobject
-
getY
public PointOperators getY()
Getter for the field
y.- Returns:
- a
PointOperatorsobject
-
getA
public PointOperators getA()
Getter for the field
a.- Returns:
- a
PointOperatorsobject
-
getB
public PointOperators getB()
Getter for the field
b.- Returns:
- a
PointOperatorsobject
-
getNum
public static Int getNum(PointOperators po)
-
getPrime
public static Int getPrime(PointOperators po)
-
-