How can I implement a priority queue in Java? Has anyone created an open source version?
Location: http://www.jguru.com/faq/view.jsp?EID=335988 Created: Feb 22, 2001 Modified: 2001-07-24 09:53:00.176 Author: michele arpaia (http://www.jguru.com/guru/viewbio.jsp?EID=227978) Question originally posed by John Zukowski PREMIUM (http://www.jguru.com/guru/viewbio.jsp?EID=7 As referenced from the Java Collections Clearinghouse, you can find a priority queue implemented as part of MIT’s FLEX compiler imfrastructure. Source code is licensed under the GNU GPL. There is also source for one in my Java Collections book.