public int CompareTo(object obj) // compare to method based on when event occurs (could be further expressed for priority of job types not specified) { Job3 e = (Job3)obj; return((int)(e.jobTime - this.jobTime)); }
public Job3 Clone() { Job3 b = new Job3(0, new Random()); b.arrivalTime = b.arrivedAt = this.arrivedAt; b.jobTime = this.jobTime; return(b); }