Interface GFElement

    • Method Detail

      • clone

        Object clone()
        Returns:
        a copy of this GFElement
      • equals

        boolean equals​(Object other)
        Compare this curve with another object.
        Overrides:
        equals in class Object
        Parameters:
        other - the other object
        Returns:
        the result of the comparison
      • hashCode

        int hashCode()
        Overrides:
        hashCode in class Object
        Returns:
        the hash code of this element
      • isZero

        boolean isZero()
        Checks whether this element is zero.
        Returns:
        true if this is the zero element
      • isOne

        boolean isOne()
        Checks whether this element is one.
        Returns:
        true if this is the one element
      • subtractFromThis

        void subtractFromThis​(GFElement minuend)
        Compute the difference of this element and minuend, overwriting this element.
        Parameters:
        minuend - the minuend
      • toFlexiBigInt

        BigInteger toFlexiBigInt()
        Returns this element as FlexiBigInt. The conversion is P1363-conform.
        Returns:
        this element as BigInt
      • toByteArray

        byte[] toByteArray()
        Returns this element as byte array. The conversion is P1363-conform.
        Returns:
        this element as byte array
      • toString

        String toString()
        Return a String representation of this element.
        Overrides:
        toString in class Object
        Returns:
        String representation of this element
      • toString

        String toString​(int radix)
        Return a String representation of this element. radix specifies the radix of the String representation.
        Parameters:
        radix - specifies the radix of the String representation
        Returns:
        String representation of this element with the specified radix