Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Job {
- /**
- * Processing time
- */
- private int time;
- /**
- * Due time
- */
- private int due;
- public Job(int t, int d) {
- time = t;
- due = d;
- }
- public int getTime() {
- return time;
- }
- public int getDue() {
- return due;
- }
- public String toString() {
- return "Job(time="+time+",due="+due+")";
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement