becker.xtras.jotto
Interface IWordPredicate

All Known Implementing Classes:
Hint, SampleHintConsistentWithGuesses, SampleHintContainsLetter, SampleHintWithAllLetters, SampleHintWithoutLetter, SampleHintWithSomeLetters

public interface IWordPredicate

Classes implementing IWordPredicate are used to find out whether or not a given word meets some criteria determined by the implementation of isOK(Word w).

Author:
Byron Weber Becker

Method Summary
 boolean isOK(Word w)
          Does the given Word meet a condition?
 

Method Detail

isOK

boolean isOK(Word w)
Does the given Word meet a condition?

Parameters:
w - The word-difficulty object to test
Returns:
true if it meets the condition; false otherwise.