|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectVocabulary
Constructor Summary | |
Vocabulary()
Konstruktor som oppretter en ny ArrayList og et HashSet |
Method Summary | |
void |
addDocument(Document etDocument)
Metode som legger til ordene i fra et dokument i ordlisten. |
java.util.ArrayList |
getOrderedVocabulary()
Metode som returnerer ArrayList for ordlisten |
java.util.HashSet |
getVocabulary()
Metode som returnerer HashSet for ordlisten |
void |
setOrderedVocabualry(java.util.ArrayList fraFil)
Metode som setter ordlisten fra et ArrayList object i fil. |
void |
setVocabulary(java.util.HashSet fraFil)
Metode som setter ordlisten fra et HashSet object i fil. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Vocabulary()
Method Detail |
public void addDocument(Document etDocument)
etDocument
- Documentpublic java.util.ArrayList getOrderedVocabulary()
public java.util.HashSet getVocabulary()
public void setOrderedVocabualry(java.util.ArrayList fraFil)
fraFil
- ArrayListpublic void setVocabulary(java.util.HashSet fraFil)
fraFil
- HashSet
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |