/* A class to represent one job */

public class Job {

  public String name;
  public int processTime;
  public int dueDate;
  public int priority;

  // Return a string containing the relevant information
  public String toString () {
//    return "(" + name.substring(0, 3) + ";" + processTime + ";" + dueDate + ";" + priority + ")";
    return "(" + name + ";" + processTime + ";" + dueDate + ";" + priority + ")";
  }

  /* In a more complicated example, we may wish to make some or all of
   * the fields private and use get/set methods for them.  For the
   * size of this project, that will only complicate the code
   * unnecessarily.
   */
}
