File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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: 42263
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%
Don't get me started about those stupid light bulbs.
subject: PriorityQueue