|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnaturalpackage.AddAWord
| Constructor Summary | |
AddAWord()
|
|
| Method Summary | |
void |
addAdj(java.lang.String word)
This method adds a word to the adj hashtable and saves it |
void |
addAdv(java.lang.String word)
This method adds a word to the adverb hashtable and saves it |
void |
addNoun(java.lang.String word)
This method adds a word to the noun hashtable and saves it |
void |
addVerb(java.lang.String word)
This method adds a word to the verb hashtable and saves it |
void |
deleteAdj(java.lang.String word)
This method deletes a word in the adjective hashtable and saves it |
void |
deleteAdv(java.lang.String word)
This method deletes a word in the adverb hashtable and saves it |
void |
deleteNoun(java.lang.String word)
This method deletes a word in the noun hashtable and saves it |
void |
deleteVerb(java.lang.String word)
This method deletes a word in the verb hashtable and saves it |
void |
loadAllWords()
This method loads adv, adv,noun,verb hashtables into memory |
void |
print(java.util.Hashtable h)
This method justs prints any hashtable to the screen just send in the hashtable |
void |
printadj()
This method justs prints ALL adjectives to the screen |
void |
printadv()
This method justs prints ALL adverbs to the screen |
void |
printNouns()
This method justs prints ALL nouns to the screen |
void |
printVerbs()
This method justs prints ALL verbs to the screen |
void |
saveAllTables()
This method saves all the tables used in conjunction with the methods that add a word |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AddAWord()
| Method Detail |
public void loadAllWords()
AtnMainpublic void printadj()
AtnMainpublic void printadv()
AtnMainpublic void printVerbs()
AtnMainpublic void printNouns()
AtnMainpublic void print(java.util.Hashtable h)
h - just the hashtable you want to print
AtnMainpublic void addAdj(java.lang.String word)
word - String paramter the word you want to add
AtnMainpublic void addAdv(java.lang.String word)
word - String paramter the word you want to add
AtnMainpublic void addVerb(java.lang.String word)
word - String paramter the word you want to add
AtnMainpublic void addNoun(java.lang.String word)
word - String paramter the word you want to add
AtnMainpublic void saveAllTables()
AtnMainpublic void deleteNoun(java.lang.String word)
word - String paramter the word you want to add
AtnMainpublic void deleteVerb(java.lang.String word)
AtnMainpublic void deleteAdj(java.lang.String word)
word - String paramter the word you want to add
AtnMainpublic void deleteAdv(java.lang.String word)
word - String paramter the word you want to add
AtnMain
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||