|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openmali.number.PrimeFactorization
public class PrimeFactorization
| Constructor Summary | |
|---|---|
PrimeFactorization()
|
|
| Method Summary | |
|---|---|
static java.util.List<java.lang.Integer> |
getPrimeFactorization(int integer,
java.util.List<java.lang.Integer> passback)
returns the prime factors for the argument. |
static boolean |
isPrime(int number)
|
static void |
main(java.lang.String[] args)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PrimeFactorization()
| Method Detail |
|---|
public static java.util.List<java.lang.Integer> getPrimeFactorization(int integer,
java.util.List<java.lang.Integer> passback)
public static boolean isPrime(int number)
public static void main(java.lang.String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||