aspose file tools
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes PriorityQueue order? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Reply Bookmark "PriorityQueue order?" Watch "PriorityQueue order?" New topic
Author

PriorityQueue order?

Anthony Karta
Ranch Hand

Joined: Aug 09, 2004
Posts: 342


Output:
size: 3[bye , hi , hello ]
bye 2
hello 1
hi 0

Why the order of element are different between # and ##??
thanks


SCJP 5
Priya Viswam
Ranch Hand

Joined: Dec 28, 2006
Posts: 81
Please go through this link

http://www.coderanch.com/t/252557/java-programmer-SCJP/certification/Priority-Queue-Ordering


SCJP 1.5<br />SCWCD 1.4
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: PriorityQueue order?
 
Similar Threads
poll() problem
changing collections in for each
doubt in John Meyer's mock exam - ConcurrentModificationException!
Priority Queue Clarification
PriorityQueue Question