<< Back to previous view

[CONTRIB-89] Implements clojure.contrib.priority-map Created: 17/Jul/10  Updated: 24/Aug/10  Resolved: 24/Aug/10

Status: Closed
Project: Clojure-Contrib
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Defect
Reporter: Anonymous Assignee: puzzler
Resolution: Completed Votes: 0
Labels: None


Adds clojure.contrib.priority-map, a variety of sorted map that's useful for many priority queue situations.


Comment by Assembla Importer [ 24/Aug/10 8:25 PM ]

Converted from http://www.assembla.com/spaces/clojure/tickets/89
prioritymap.diff - https://www.assembla.com/spaces/clojure/documents/aD2s4mKDqr34-UeJe5cbLr/download/aD2s4mKDqr34-UeJe5cbLr

Comment by Assembla Importer [ 24/Aug/10 8:25 PM ]

puzzler said: http://github.com/clojure/clojure-contrib/commit/18c8713709e4cb095d10b154854f8d0b8fb50ad8

Comment by Assembla Importer [ 24/Aug/10 8:25 PM ]

puzzler said: I realized shortly after uploading the file that although I made the equality of priority maps behave like regular maps and sorted maps, I forgot to adjust the hashCode method accordingly.

Fixed that, and added a corresponding test case.


Generated at Sun Feb 17 18:47:24 CST 2019 using JIRA 4.4#649-r158309.