public class RandomGenerator extends Object
| Constructor and Description |
|---|
RandomGenerator() |
RandomGenerator(long seed) |
| Modifier and Type | Method and Description |
|---|---|
String |
alphanumeric(int length) |
String |
loremIpsum(int wordCount) |
boolean |
nextBoolean() |
byte |
nextByte() |
String |
nextDuration() |
int |
nextInt(int maxValue) |
long |
nextLong(long start,
long end)
Return the next long value within a given range
|
public RandomGenerator()
public RandomGenerator(long seed)
public String nextDuration()
public String loremIpsum(int wordCount)
public String alphanumeric(int length)
public boolean nextBoolean()
public byte nextByte()
public long nextLong(long start,
long end)
public int nextInt(int maxValue)
Copyright © 2019. All rights reserved.