|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object part1.Utilities
Method Summary | |
static java.math.BigInteger |
combine(java.util.AbstractList l,
java.math.BigInteger m)
A method to combine a list of big integers produced by split() . |
static java.lang.String |
intToString(java.math.BigInteger x)
A method to convert a positive big integer created by stringToInt() into
a string. |
static java.util.AbstractList |
split(java.math.BigInteger x,
java.math.BigInteger m)
A method to split a positive big integer x into a non-empty list of big integers representing the
number to the base m . |
static java.math.BigInteger |
stringToInt(java.lang.String s)
A method to convert a string into a positive big integer. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static java.math.BigInteger stringToInt(java.lang.String s) throws java.lang.Exception
java.lang.Exception
public static java.lang.String intToString(java.math.BigInteger x) throws java.lang.Exception
stringToInt()
into
a string.
java.lang.Exception
public static java.util.AbstractList split(java.math.BigInteger x, java.math.BigInteger m) throws java.lang.Exception
x
into a non-empty list of big integers representing the
number to the base m
.
java.lang.Exception
public static java.math.BigInteger combine(java.util.AbstractList l, java.math.BigInteger m) throws java.lang.Exception
split()
.
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |