How can I implement a priority queue in Java? Has anyone created an open source version?

michele arpaia

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.