public abstract class BookGenerator extends Object
Modifier and Type | Method and Description |
---|---|
protected void |
addWord(String word)
Add a word to the tree.
|
protected int |
indexOf(String string,
char[] chars,
int fromIndex)
Help function for parsing the Wiktinary formats.
|
protected boolean |
isValidWord(String word)
Check if the word is valid word.
|
static void |
main(String[] args) |
protected final int indexOf(String string, char[] chars, int fromIndex)
string
- zu durchsuchender Stringchars
- the searching charchters, can not be emptyfromIndex
- Startposition der Suche. Index beginnt bei 0.protected boolean isValidWord(String word)
word
- the to checkprotected final void addWord(String word)
word
- can not be nullCopyright © 2016. All rights reserved.