commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Pettypiece" <Mike.Pettypi...@EMBARCADERO.COM>
Subject RE: [collections] reference counting
Date Thu, 07 Jul 2005 15:36:56 GMT

Are you thinking of a Bag?

-----Original Message-----
From: Torsten Curdt [] 
Sent: July 7, 2005 9:34 AM
To: Jakarta Commons Developers List
Subject: [collections] reference counting

In the back of my head I thought this would
be possible already ...but right now  I just
cannot find how :-/

I would like to have a Set that does
reference counting. Example:

 set.add("a") // 1x a
 set.add("a") // 2x a
 set.remove("a") // 1x a
 set.remove("a") // empty

A useful addition or just me not
seeing the obvious?


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

View raw message