erikaliang520 / base_KASE

2 stars 1 forks source link

WordHistoryDataAccessObject - get() #37

Closed erikaliang520 closed 9 months ago

erikaliang520 commented 9 months ago

I saw that the history use case for HistoryInteractor used a get method that did not exist in the WordHistoryDAO. I wrote the get() such that it returns an arraylist of the format [originalword1.word, translatedword1.word, originalword2.word, translatedword2.word, etc.] using the hashmap wordHistory. We can then use this specific arraylist in our view. Please look over my changes and feel free to suggest any edits!