Java Built in Data Structures

4.7
11 個評分
提供方
Coursera Project Network
在此指導項目中,您將:

Create and Populate a Java LinkedList with the data and compare its performance with ArrayList.

Use a Set data structure to uniquify the data.

Create a HashMap of the data and look up a record based on a unique key.

Clock2 hours
Intermediate中級
Cloud無需下載
Video分屏視頻
Comment Dots英語(English)
Laptop僅限桌面

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 needs to occur. A Hashmap is used to quickly look up a value based on a key rather than a numerical index, for example, to look up a phone number based on a key containing a person's name. A Set may be used to remove duplicates from a list, simply by assigning the data to it. Note: This course works best for learners who are based in the North America region. We’re currently working on providing the same experience in other regions.

您要培養的技能

  • Java Object-Oriented Programming
  • Java Collections Framework
  • Java LinkedList
  • Java Data Structures
  • Java HashMap

分步進行學習

在與您的工作區一起在分屏中播放的視頻中,您的授課教師將指導您完成每個步驟:

  1. Analyze the existing application and create a Java ArrayList to populate with data from a file.

  2. Create and Populate a Java LinkedList with the data and compare its performance with ArrayList.

  3. Use a Set data structure to uniquify the data from the LinkedList.

  4. Sort the Set data according to rain and store it in a file.

  5. Create a HashMap of the data and look up a record based on a unique key.

指導項目工作原理

您的工作空間就是瀏覽器中的雲桌面,無需下載

在分屏視頻中,您的授課教師會為您提供分步指導

常見問題

常見問題

還有其他問題嗎?請訪問 學生幫助中心