Question: Write a Java ADT named Job.java for the three sorting classes. The time indicated in the question means the the running time. You should store
You should store each job's ID (as String) and the execution time (as int) together in an abstract data type called Job that implements the Comparable interface. Complete the implementation in Job-Java". In addition to including the requirements for the Comparable interface, your design should meet the following minimum requirements: 1. Construct a job 2. Retrieve the time of a job 3. Set the time of a job 4. Retrieve a Job ID 5. String representation of a job 6. Ensure that the methods and the Job data type conserve encapsulation and immutability This is the ADT you will use throughout your implementation for the rest of this assignment. You should submitted a pdf file called a1_API.pdf with the same format describe in the lecture documenting your ADT APIs. This file should be included in the data directory of your proje
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
