Esempio n. 1
0
        public WordListDiffMeaning searchWord(String word)
        {
            WordListDiffMeaning sameWordDifferentMeaning = new WordListDiffMeaning();

            sameWordDifferentMeaning = WDictionary.getWordForName2(word);
            return(sameWordDifferentMeaning);
        }
Esempio n. 2
0
        public AvailableWords()
        {
            WordList          = new List <Word>();
            WDictionary       = new WDictionary();
            WordsNameOnlyList = new HashSet <string>();

            fetchAllWordsFromDB();
            Count         = WordList.Count;
            MasteredCount = Count - UnMasteredCount;
        }
Esempio n. 3
0
        private void fetchAllWordsFromDB()
        {
            WordDaoImpl dao = new WordDaoImpl();

            WordList = dao.getAllWords();
            foreach (Word word in WordList)
            {
                WDictionary.Add(word);
                WordsNameOnlyList.Add((word.Name));
            }

            UnMasteredWordList = dao.getAllUnmasteredWords();
        }
Esempio n. 4
0
        public List <Word> getWord4Name(String word)
        {
            List <Word> sameWordDiffMeaning = WDictionary.getWordForName(word);

            return(sameWordDiffMeaning);
        }