| Message view | « Date » · « Thread » |
|---|---|
| Top | « Date » · « Thread » |
| From | "Paul Dlug" <paul.d...@gmail.com> |
| Subject | [Collections] Bag sorted by count |
| Date | Wed, 07 Jun 2006 16:09:16 GMT |
Hopefully a simple question... Is there an implementation of Bag that returns its elements sorted by their count? I can't seem to find an elegant way to implement this (it seems like the comparator would need a reference to the Bag it is comparing elements for to do this with a TreeBag). Thanks, Paul | |
| Mime |
|
| View raw message | |