|
Sortable?: msg#00082lang.smalltalk.squeak.beginners
Hey, I want to have a collection that's sortable but not always sorted. I've been using (essentially): mySortedCollection := myOrderedCollection asSortedCollection. myOrderedCollection := mySortedCollection asOrderedCollection. Or just: s := (s asSortedCollection) asOrderedCollection. OK? (It seems fine to me, but part of my mind still sticks thinks "Gee, that's a lot of overhead.") I really just want to write: s sort. I see the tools are there for SortedCollection but they're not meant to be used, I think. ===Blake===
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re[2]: Uploading Patches and Enabling Features in Commercial Systems, Herbert König |
|---|---|
| Next by Date: | RE: Sortable?, Ron Teitelbaum |
| Previous by Thread: | Squeak Foundation Board 2007 Election Results, Ron Teitelbaum |
| Next by Thread: | RE: Sortable?, Ron Teitelbaum |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |