page17
Software Engineering Group Project 20: Design Specification/1.0 (Release)
5.2.5
Loading algorithm
The loading algorithm will run on request of the user through a button press. It will use JavaFX to open a
filePicker, and when the user picks a file with valid JSON, this will be loaded in and mapped to
WelshDictionary objects by the Jackson library, these objects are then added to the list data structure.
5.3
Significant Data Structures
5.3.1
Linked Lists:
Currently the program works with WelshDictionary objects, which store the Welsh translation of the word, its
English translation and the word type (verb, masculine noun, etc). These objects are linked lists which would
point to the next object in the dictionary, i.e. it would have the next word down adjacent to the object.
Aberystwyth University / Computer Science
Page 17 of 19