public class WordsGenerator extends InitializeObject implements TextGenerator
mutex| Constructor and Description |
|---|
WordsGenerator() |
| Modifier and Type | Method and Description |
|---|---|
String |
generate() |
protected void |
init() |
static int |
randomChars(Random random,
char[] src,
char[] dest,
int rdCount,
int emptyCount) |
WordsGenerator |
setLength(int length) |
boolean |
verify(String value) |
assertNotInitialized, destroy, initializeprotected void init()
throws Exception
init in class InitializeObjectExceptionpublic String generate()
generate in interface TextGeneratorpublic boolean verify(String value)
verify in interface TextGeneratorpublic WordsGenerator setLength(int length)
public static int randomChars(Random random, char[] src, char[] dest, int rdCount, int emptyCount)
Copyright © 2017. All rights reserved.