Skip to content

Repository files navigation

Hashmap-based Department Report System

Project Overview

The Department Report System facilitates the extraction of departmental data from CSV files, including details about departments, employees, and their salaries. It employs HashMaps to streamline data management and optimize performance.

Domain Objects

Department

  • deptCode: String
  • deptName: String
  • depTotalSalary: Double

Employee

  • empNo: String
  • lastName: String
  • lastName: String
  • salary: Double

You need to create objects that will handle the retrieval of the csv files to convert it into objects. These are EmployeeDA and EmployeeDA objects.

INSTRUCTIONS:

  1. You are not allowed to alter the composition of the domain objects. Stick to the design. Disregard the data in the csv if it is not necessary to the object.
  2. Adhere to correct naming conventions in naming variables and objects.
  3. Use hashmap as your solution to the problem.
  4. Use the department.setDepTotalSalary() in putting the aggregated value into the object. Do not just use the salary accumulation approach in the printing process to get the depTotalSalary.

About

Hashmap-based Department Report System - organizes and retrieves department reports using a hashmap data structure, ensuring fast lookups and data management.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages