|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object tyrex.util.Primes
This class provides a single service. It returns the next prime number that is larger than the required value. The prime table ranges between 11 and 2893249.
Constructor Summary | |
Primes()
|
Method Summary | |
static int |
nextPrime(int value)
Returns the lowest prime number that is higher than the specified value. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Primes()
Method Detail |
public static int nextPrime(int value)
value
- The specified value
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |