How Elements Are Stored In Priority Queue In Java