note 94922 rejected from class.splpriorityqueue by danbrown
| From: | danbrown@php.net | Date: | Thu, 03 Dec 2009 14:16:16 +0000 |
| Subject: | note 94922 rejected from class.splpriorityqueue by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-163543@lists.php.net to get a copy of this message | ||
Note Submitter: virtual dot greg at gmail dot com
----
It would be helpful if the compare function could be assigned an anonymous function, or pass the
comparator method into the constructor - following the interface of the J2SE PriorityQueue:
http://java.sun.com/j2se/1.5.0/docs/api/java/util/PriorityQueue.html