title: PriorityQueue not printing the things i want
body: <p>Hi this is a test class I have put together before I proceed to my assignment, and I realize it is not working the way I want. Here is my class:</p>
  
  <p>JobLog:</p>
  
  <pre><code>import java.util.PriorityQueue;
  
  public class JobLog {
      private PriorityQueue&lt;Job&gt; log;
  
      public JobLog() {
          log = new PriorityQueue&lt;Job&gt;();
      }
  
      public void addJob(Job newJob) {
          log.add(newJob);
      }
  
      public void addJob(int clock, int exectionTime, int jobNumber,
              int priorityLevel) {
          Job newJob = new Job(clock, exectionTime, jobNumber, priorityLevel);
          addJob(newJob);
      }
  
      public Job getNextJob() {
          return log.peek();
      }
  
      public Job removeNextJob() {
          return log.remove();
      }
  }
  </code></pre>
  
  <p>TestClass</p>
  
  <pre><code>public static void main(String[] args) {
      // TODO code application logic here
  
      JobLog waitline=new JobLog();
      Job Joba=new Job(3,3,4,12);
      Job Jobb=new Job(3,3,4,2);
      Job Jobc=new Job(3,3,4,3);
      Job Jobd=new Job(3,3,4,4);
      Job Jobe=new Job(3,3,4,5);
      Job Jobf=new Job(3,3,4,5);
      Job Jobg=new Job(3,3,4,1);
  
      waitline.addJob(Joba);
      waitline.addJob(Jobb);
  
      System.out.println(waitline.getNextJob());
  }
  </code></pre>
  
  <p>I'm getting this result.</p>
  
  <pre><code>assignment3_csc225.Job@1db04ed
  </code></pre>
  
  <p>I want to return all the information of the job . How?</p>