|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcayleytable.groupIdentify.factorType
private class groupIdentify.factorType
Class to store a prime and number used of a prime factorization
Field Summary | |
---|---|
private int |
numOfPrimes
Number of primes used in the prime factorization |
private int |
prime
Prime from the prime factorization |
Constructor Summary | |
---|---|
groupIdentify.factorType(int p,
int num)
Constructor for the class that saves a prime and number of values of that prime used in the prime factorization |
Method Summary | |
---|---|
int |
getNumOfPrimes()
Returns the number of times the prime is used in the prime factorization |
int |
getPrime()
Returns the prime |
void |
incrementNumOfPrimes()
Increments the value of numOfPrimes by 1 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private int prime
private int numOfPrimes
Constructor Detail |
---|
public groupIdentify.factorType(int p, int num)
p
- integer value of the primenum
- integer value of the number of primes in the factorizationMethod Detail |
---|
public int getPrime()
public int getNumOfPrimes()
public void incrementNumOfPrimes()
numOfPrimes
by 1
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |