wood burning stoves 2.0*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes PriorityQueue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "PriorityQueue" Watch "PriorityQueue" New topic
Author

PriorityQueue

Costa lamona
Ranch Hand

Joined: Sep 24, 2006
Posts: 102
Hi
Give me an example situation where I would prefer to use PriorityQueue.
Thanks


SCJP 5
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41108
    
  45
Prefer it with respect to which alternative?


Ping & DNS - my free Android networking tools app
Satish Kota
Ranch Hand

Joined: Feb 08, 2006
Posts: 88
PriorityQueue are often used in sorting algorithms. Like Selection sort and Sort.


SCJP 5.0 77%
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: PriorityQueue
 
Similar Threads
Priority Queues
Cannot understand how PriorityQueue gets ordered using a Comparator
Does SCJP6 requires one to study Queue class
scenerio from examLab
diff b/w PriorityQueue "add" and "offer" methods