public class WordGenerator extends Object implements IClusterable
Constructor and Description |
---|
WordGenerator()
Create the word generator, loading the words and preparing them for serving.
|
WordGenerator(String[] words)
Create the word generator using the supplied array of words as the word source to use.
|
public WordGenerator()
public WordGenerator(String[] words)
words
- The words to usepublic Word next()
public int size()
Copyright © 2006–2021 Apache Software Foundation. All rights reserved.