BTW, the simplest (and possibly most efficient) LRU cache I found is at
Tomcat 3.3 on:
  org.apache.tomcat.util.collections.LRUCache

I think it might need a couple of adjustments but it is great for simple
stuff. (Be aware that is just in-memory and very simplistic.)


Have fun,
Paulo Gaspar

http://www.krankikom.de
http://www.ruhronline.de


> -----Original Message-----
> From: Janek Bogucki [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, January 24, 2002 11:08 AM
> To: Jakarta Commons Developers List
> Subject: Re: Silly Question
>
>
> It's already in commons-collections 1.1-dev as SequencedHashMap, and very
> useful it is too :)
>
> -Janek
>
> > From: "Scott Sanders" <[EMAIL PROTECTED]>
> > Reply-To: "Jakarta Commons Developers List"
> <[EMAIL PROTECTED]>
> > Date: Wed, 23 Jan 2002 21:00:56 -0800
> > To: <[EMAIL PROTECTED]>
> > Subject: Silly Question
> >
> > In the sanbox in utils, there exists a SequencedHashtable.
> >
> > Other than the obvious, why is this not in commons-collections?
> > Are we saying that something has to implement/extend the Collections API
> > to be included?
> >
> > The PROPOSAL.html states that collections was intended for ADTs, not
> > just Collections API stuff.
> >
> > So can we say that anything collectionesque (ie, hastables, vectors,
> > etc) should also be included?
> >
> > I think that commons-collections is small enough to warrant the
> > inclusion of this SequencedHashtable, and possibly others, as I find
> > them.
> >
> > I will start adding these to commons-collections. Can I get some
> > feedback, maybe even some +1s?
> >
> > Scott Sanders
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> >
>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to