Class JoggleWordFinder

java.lang.Object
  |
  +--JoggleWordFinder

public class JoggleWordFinder
extends java.lang.Object

Finds all words on a Joggle/Boggle board

See Also:
Trie

Constructor Summary
JoggleWordFinder(Trie trie)
          construct a JoggleWordFinder
 
Method Summary
 java.util.List findWords(PlayingBoard board)
          Find all words on a Joggle/Boggle board
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JoggleWordFinder

public JoggleWordFinder(Trie trie)
construct a JoggleWordFinder
Parameters:
trie - The trie of all words in dictionary
Method Detail

findWords

public java.util.List findWords(PlayingBoard board)
Find all words on a Joggle/Boggle board
Parameters:
is - the board being searched
Returns:
a List of all words on the board