commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephen Colebourne <>
Subject Re: [Collections] Bag sorted by count
Date Wed, 07 Jun 2006 21:45:04 GMT
Paul Dlug wrote:
> 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).

We have no such implementation. Its not a bad idea though.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message