Java Built in Data Structures
In this project you will read weather data from a file and populate a Java ArrayList with the file data. The data is then uniquified in a Set data structure and stored in a HashMap for accessing data by year.
Java's collections framework contains data structures that are built for efficiency. They are used to store and retrieve data in various formats. A list such as an ArrayList can be used in place of an array to contain data where the size cannot be determined ahead of time. A LinkeList is like an ArrayList, except elements can be more quickly added and deleted from it, since no shifting n…
Watch on Coursera ↗
(saves to browser)
DeepCamp AI