Login  Register

Re: no SortedDictionary available?

Posted by Bernat Romagosa on Jul 17, 2013; 9:35am
URL: https://forum.world.st/no-SortedDictionary-available-tp4699050p4699066.html

Tony Fleig has an OrderedDictionary in a repo of his (http://www.squeaksource.com/TFOrderedDictionary.html), but I think it's pretty much the same as the OrderPreservingDictionary...


2013/7/17 Clément Bera <[hidden email]>
There is currently no sorted dictionary in Pharo.

There's only OrderedIdentityDictionary / OrderPreservingDictionary which are different.

If you implement one or find an opensource implementation somewhere, Marcus will be pleased to integrate it in Pharo.


2013/7/17 Sabine Knöfel <[hidden email]>
correction/more precise: where I can define the sort order. If I add Dates as
keys in a dict, they are sorted by printstring (?). I need the dict to sort
date keys by time.
Sabine



--
View this message in context: http://forum.world.st/no-SortedDictionary-available-tp4699050p4699052.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.





--
Bernat Romagosa.