Util
Class DictionaryTree

java.lang.Object
  extended by Util.DictionaryTree

public class DictionaryTree
extends java.lang.Object

High Performance alphabet search tree that will find any word 100x faster than a normal ArrayList

Author:
Chris Barton

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

DictionaryTree

public DictionaryTree()

DictionaryTree

public DictionaryTree(java.lang.String filename)
               throws java.io.FileNotFoundException
Throws:
java.io.FileNotFoundException
Method Detail

insert

public void insert(java.lang.String word)

search

public boolean search(java.lang.String word)