|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.mindbright.util.PrimeSieve
public final class PrimeSieve
Generates prime numbers
Field Summary | |
---|---|
static byte[] |
bitCounts
|
Constructor Summary | |
---|---|
PrimeSieve(int x)
|
Method Summary | |
---|---|
int |
availablePrimes()
|
int |
getNextPrime(int x)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final byte[] bitCounts
Constructor Detail |
---|
public PrimeSieve(int x)
Method Detail |
---|
public int availablePrimes()
public int getNextPrime(int x)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |