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


Costa lamona
Ranch Hand

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

Ulf Dittmer

Joined: Mar 22, 2005
Posts: 41108
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