The local Emergency call handling for the police receives thousands of calls every day. Every call is logged, together with the response. Create a Java program to process these calls directing them to the appropriate response unit. You can assume that while the call is ongoing it remains in memory, to monitor the progress so, you should allow for 20 calls in memory at any one time. The response units available are as follows:
- ARU – Armed Response Unit
- RTC (Road Traffic Collision) Investigation Unit
- Traffic Response a. Speeding b. Drunk / drug driving c. Road Closures d. RTC
- CID (Criminal Investigation Department) for: a. Theft b. Personal Injury (Assault) c. MIT Murder Investigation Team
Your program should create a facility to store call details:
- Date and time of call
- Nature of call: a. RTC b. Assault c. Murder d. Brandishing a weapon e. Theft/Burglary/Criminal damage
- Response unit assigned
- Location of Incident
- Description of incident (max 256ch)
At the end of the shift all call incidents are stored on a csv file, which when officers investigating an incident would like to view, they can be quickly retrieved and displayed.
N/A - wasn't graded.