|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object | +--Factorize
Factorization of MyIntegralNumbers.
| Method Summary | |
static void |
getFactor(MyIntegralNumber ival)
Prints "Prime" on the terminal if ival is prime; otherwise,
prints a non-trivial factor of ival. |
| Methods inherited from class java.lang.Object |
|
| Method Detail |
public static void getFactor(MyIntegralNumber ival)
ival is prime; otherwise,
prints a non-trivial factor of ival.
[ival is assumed to be odd and greater than 100.]
ival - the integer to be factored
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||