I think that this would mostly involve changing the name and adding a few
simple methods.

How does something get to collections?  


Aaron



> -----Original Message-----
> From: James Strachan [mailto:[EMAIL PROTECTED]]
> Sent: Friday, February 15, 2002 8:11 AM
> To: Jakarta Commons Developers List
> Subject: Re: [collections][PATCH] LRUMap - license, docs update
> 
> From: "Aaron Smuts" <[EMAIL PROTECTED]>
> > Or you could use what I put in stratum.
> 
> You mean LRUStore thats in the org.apache.stratum.util.lru package? If so
> it'd be nice to refactor it into a Map implementation and for ILRUElement
> to
> derive from Map.Entry - and to contribute it to commons-collections ;-)
> 
> James
> 
> >
> > > -----Original Message-----
> > > From: Michael Davey - Sun UK Support Engineer
> > > [mailto:[EMAIL PROTECTED]]
> > > Sent: Monday, February 11, 2002 10:53 AM
> > > To: Jakarta Commons Developers List
> > > Subject: Re: [collections][PATCH] LRUMap - license, docs update
> > >
> > > James Strachan wrote:
> > >
> > > [snip]
> > >
> > > > I've also been pondering a solution to the LRU issue that preserves
> the
> > > > efficiency of the bubble list (and avoids expensive tree or count-
> > > indexing
> > > > data structuers) but solves the problem that Aaron found. Still not
> had
> > > any
> > > > bright ideas yet :-(
> > > >
> > > > Maybe renaming it to FastLRUMap that approximates LRU but isn't
> totally
> > > > accurate in all circumstances might help?
> > >
> > > You might want to "borrow" the cache implementations from Jakarta-ORO
> > > org.apache.oro.util.  I think CacheLRU isn't as sophisticated as the
> > > one in collections, thou.
> > >
> > > --
> > > Michael
> > >
> > > --
> > > To unsubscribe, e-mail:   <mailto:commons-dev-
> > > [EMAIL PROTECTED]>
> > > For additional commands, e-mail: <mailto:commons-dev-
> > > [EMAIL PROTECTED]>
> >
> 
> 
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:commons-dev-
> [EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:commons-dev-
> [EMAIL PROTECTED]>

Reply via email to