//==============================================================================
// CS349 Assignment 03, Jotto
//
// @description: Module for providing functions to work with IWordList interface
// @author: Ah Hoe Lai
// @userid: ahlai
// @version: 1.0 05/11/2015
//==============================================================================

import java.util.ArrayList;

// Classes implementing IWordList provide a list of
// word-difficulty pairs (Word objects).
public interface IWordList {
   
   // Does the list of words contain a word-difficulty pair with the
   // given word?
   public boolean contains(String aWord);
   
   // The number of words in the list.
   public int numWords();

   // Find a random word. The list must contain at least one word.
   public Word randomWord();
	   
   // Find a random word with the given difficulty in the list.  The list
   // must contain at least one such word.
   public Word randomWord(int difficulty);
   
   // Find one word that passes the given test; the test is typically
   // given by a Hint object (which implements IWordPredicate).  
   // The method should start
   // with a random word in the list and then proceed sequentially through
   // the list until it either finds a word that passes the test or it
   // it exhausts the list, in which case it returns null.
   public Word getWord(IWordPredicate test);
   
   // Find all the words that pass the given test; the test is typically
   // given by a Hint object (which implements IWordPredicate).
   public ArrayList<Word> getWords(IWordPredicate test);
   
   // Find at most maxDesired words that pass the given test; the test is
   // typically given by a Hint object (which implements IWordPredicate).
   public ArrayList<Word> getWords(int maxDesired, IWordPredicate test);
}

@@ -80,29 +80,8 @@
 =%0A//
- CS349 Assignment 03,
  Jot
@@ -183,34 +183,16 @@
 or: 
-Ah Hoe Lai%0A// @userid: ahl
+Elisha L
 ai%0A/

Update IWordList.java