com.topologi.diffx.event.lang
Class CommonWordsEnglish

java.lang.Object
  extended bycom.topologi.diffx.event.lang.CommonWordsEnglish

public final class CommonWordsEnglish
extends Object

A list of common words in English.

Version:
15 December 2004
Author:
Christophe Lauret

Method Summary
static boolean contains(String word)
          Indicates whether the specified is in this list.
static WordEvent get(String word)
          Returns the WordEvent corresponding to the specified word.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

contains

public static boolean contains(String word)
Indicates whether the specified is in this list.

Parameters:
word - The word that is being used.
Returns:
true if the specified word is common; false otherwise.

get

public static WordEvent get(String word)
Returns the WordEvent corresponding to the specified word.

Parameters:
word - The word to be retrieved.
Returns:
The corresponding WordEvent or null.