A Guide To Advanced Java - Generics

Over the past 50 years, Lifeline Hospital has proved its multifaceted response and services towards the patient satisfaction and quality. Now, the hospital management has initiated processmanagement strategies to get improved quality, costeffectiveness and on-line tracking and booking of doctors and specialists. To achieve this goal, management has decided to use a process-management approach to coordinate all the doctors in the panel, around the organization, towards "patient-centered care." Consider you to be a part of the team that implements the solution for designing the application. . | A Guide To Advanced Java Assignments Generics Sr. No. Assignment Question 1 Over the past 50 years Lifeline Hospital has proved its multifaceted response and services towards the patient satisfaction and quality. Now the hospital management has initiated processmanagement strategies to get improved quality costeffectiveness and on-line tracking and booking of doctors and specialists. To achieve this goal management has decided to use a process-management approach to coordinate all the doctors in the panel around the organization towards patient-centered care. Consider you to be a part of the team that implements the solution for designing the application. Create an application in Java which can be used to register new doctors with all details maintain the existing doctors tracking a specific doctor and displaying all the doctors present in a panel along with all the details. The application internally creates a generic HashMap known as DoctorHashMap that can store any generic key-value pair. When in the main class an instance of the generic DoctorHashMap is created the key is mapped to a String and the value is mapped to an object of another class that stores all the details of doctors. The application is tested in another class which initially displays a menu with the following options. 1. Register Doctor 2. Search and display the Doctor details 3. Publish the entire list 4. Exit When the user selects an option the corresponding function must be invoked. The application terminates by printing an appropriate message and showing the corresponding result when the user chooses to exit the application. When a user enters the first choice to Register Doctor the application invokes the add method with the key-value pairs which in turn invokes the put method of HashMap and starts accepting all the details of the doctors as the key-value pairs to the DoctorHashMap. The key represents the doctor code of type String. The values represent the details of the doctor it accepts

Bấm vào đây để xem trước nội dung
TÀI LIỆU MỚI ĐĂNG
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.