File
Doc
Category
Size
Date
Package
RandomPrimeSearch.java
API Doc
Example
491
Tue May 04 14:07:06 BST 2004
com.oreilly.tiger.ch10
RandomPrimeSearch
java.lang.Object
public class RandomPrimeSearch extends Object implements Callable
Fields Summary
private static final Random
prng
private int
bitSize
Constructors Summary
public RandomPrimeSearch
(
int
bitSize)
this.bitSize = bitSize;
Methods Summary
public
java.math.BigInteger
call
()
return BigInteger.probablePrime(bitSize, prng);
Java Code Source