|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cmu.tawc.data.DictionaryStub
public class DictionaryStub
Constructor Summary | |
---|---|
DictionaryStub()
|
Method Summary | |
---|---|
void |
addCategory(Category category)
Generally, assumes that these come in in some sort of order. |
void |
addWord(Word word)
Adds a word to the dictionary, writing over whatever was previously there |
java.util.List<Category> |
getCategories()
|
java.util.List<Word> |
getWords()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DictionaryStub()
Method Detail |
---|
public java.util.List<Category> getCategories()
getCategories
in interface Dictionary
public java.util.List<Word> getWords()
getWords
in interface Dictionary
public void addWord(Word word)
public void addCategory(Category category)
index
- name
- public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |