Record Class JacobianPoint<E>
java.lang.Object
java.lang.Record
dk.jonaslindstrom.ruffini.elliptic.elements.JacobianPoint<E>
- 
Constructor SummaryConstructorsConstructorDescriptionJacobianPoint(E X, E Y, E Z) Creates an instance of aJacobianPointrecord class.
- 
Method SummaryModifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanisPointAtInfinity(java.util.function.Predicate<E> isZero) static <F> JacobianPoint<F>pointAtInfinity(Field<F> field) toAffinePoint(Field<E> field) toString()Returns a string representation of this record class.X()Returns the value of theXrecord component.Y()Returns the value of theYrecord component.Z()Returns the value of theZrecord component.
- 
Constructor Details- 
JacobianPointCreates an instance of aJacobianPointrecord class.- Parameters:
- X- the value for the- Xrecord component
- Y- the value for the- Yrecord component
- Z- the value for the- Zrecord component
 
 
- 
- 
Method Details- 
pointAtInfinity
- 
isPointAtInfinity
- 
toStringReturns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
- 
toAffinePoint
- 
hashCodepublic final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
- 
equalsIndicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object).
- 
XReturns the value of theXrecord component.- Returns:
- the value of the Xrecord component
 
- 
YReturns the value of theYrecord component.- Returns:
- the value of the Yrecord component
 
- 
ZReturns the value of theZrecord component.- Returns:
- the value of the Zrecord component
 
 
-