commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephen Colebourne <scolebou...@btopenworld.com>
Subject Re: [collections] Name that data structure
Date Thu, 14 Jul 2005 23:18:14 GMT
Wendy Smoak wrote:
> I put together a simple example that demonstrates the problem:
> http://wiki.wendysmoak.com/cgi-bin/wiki.pl?CircularFifoBuffer
> 
> Bug?  Surely I'm not doing anything wrong by calling remove(...) on a
> Collection?  (Inefficient though it may be, first I just want to see it
> work.)

Your wiki indicates that this is solved in SVN. Is this the case?


> Meanwhile, is there another way I can get the buffer to be in the correct
> LRU order?  The LRUMap did work, but it's ugly having to put  the empty
> String into the Map, when I don't need key/value pairs.

Our only LRU implementation is LRUMap at present.

Stephen

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message