title: Why would a PriorityQueue not act like a Queue?
body: <p>I am using the <code>PriorityBlockingQueue</code> with a priority field. In my test I use <code>System#currentTime()</code> for priorities—the same priorities are obtained by the computer being so quick that the milliseconds are the same (or more like the milliseconds on a PC has a margin of error).</p>
  
  <p>When the priorities are the same the queue acts as if it’s a stack, which seems strange. Is there an alternative to make the queue act as if it’s a normal queue (that is, FIFO rather than LIFO behavior) when the priorities of the elements are the same?</p>