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

 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 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
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 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!