File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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: 42592
    
  65
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