/** * Returns a string representation of the current object. The * output is only for debugging purposes and should not be used for other * purposes. * * @return A string presentation of this object for debugging output. * @preconditions * @postconditions (result <> null) */ @Override public String toString() { String superToString = super.toString(); return Util.concatObjectsCap(superToString.length() + 100, superToString, "\n Prime (hex): ", prime, "\n Base (hex): ", base, "\n Prime Bits (dec): ", primeBits.toString(10)); }
/** * Returns a string representation of the current object. The * output is only for debugging purposes and should not be used for other * purposes. * * @return A string presentation of this object for debugging output. * @preconditions * @postconditions (result <> null) */ @Override public String toString() { String superToString = super.toString(); return Util.concatObjectsCap(superToString.length() + 100, superToString, "\n Prime (hex): ", prime, "\n Subprime (hex): ", subprime, "\n Base (hex): ", base, "\n Prime Bits (dec): ", primeBits.toString(10)); }