Class RandomNumberGenerator
- java.lang.Object
-
- org.alindner.tools.common.random.generator.RandomNumberGenerator
-
- All Implemented Interfaces:
IRandomStringGenerator<BigInteger>
public class RandomNumberGenerator extends Object implements IRandomStringGenerator<BigInteger>
-
-
Constructor Summary
Constructors Constructor Description RandomNumberGenerator(String alphanum)RandomNumberGenerator(String alphanum, Random random)
-
-
-
Method Detail
-
next
public BigInteger next(int length)
Description copied from interface:IRandomStringGeneratorprovides a random string with lengthlength.- Specified by:
nextin interfaceIRandomStringGenerator<BigInteger>- Parameters:
length- length of string- Returns:
- random string
-
-