public class WordsGenerator extends InitializeObject implements TextGenerator
| Modifier and Type | Class and Description |
|---|---|
static class |
WordsGenerator.Alphabet |
mutex| Constructor and Description |
|---|
WordsGenerator() |
| Modifier and Type | Method and Description |
|---|---|
String |
generate() |
protected void |
init() |
WordsGenerator |
setAlphabet(WordsGenerator.Alphabet alphabet) |
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 WordsGenerator setAlphabet(WordsGenerator.Alphabet alphabet)
Copyright © 2021. All rights reserved.