|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectUtil.DictionaryTree
public class DictionaryTree
High Performance alphabet search tree that will find any word 100x faster than a normal ArrayList
| Constructor Summary | |
|---|---|
DictionaryTree()
|
|
DictionaryTree(java.lang.String filename)
|
|
| Method Summary | |
|---|---|
void |
insert(java.lang.String word)
|
boolean |
search(java.lang.String word)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DictionaryTree()
public DictionaryTree(java.lang.String filename)
throws java.io.FileNotFoundException
java.io.FileNotFoundException| Method Detail |
|---|
public void insert(java.lang.String word)
public boolean search(java.lang.String word)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||