Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 39900 invoked from network); 23 Dec 2004 09:04:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 23 Dec 2004 09:04:24 -0000 Received: (qmail 89152 invoked by uid 500); 23 Dec 2004 09:04:14 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 89057 invoked by uid 500); 23 Dec 2004 09:04:13 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 89032 invoked by uid 99); 23 Dec 2004 09:04:12 -0000 X-ASF-Spam-Status: No, hits=1.8 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from smtp812.mail.ukl.yahoo.com (HELO smtp812.mail.ukl.yahoo.com) (217.12.12.202) by apache.org (qpsmtpd/0.28) with SMTP; Thu, 23 Dec 2004 01:04:08 -0800 Received: from unknown (HELO SCOLEBOURNE) (commons-dev@jakarta.apache.org@217.43.244.59 with poptime) by smtp812.mail.ukl.yahoo.com with SMTP; 23 Dec 2004 09:04:05 -0000 Message-ID: <000501c4e8ce$7206ece0$3bf42bd9@SCOLEBOURNE> From: "Stephen Colebourne" To: "Jakarta Commons Developers List" References: <41C61113.7090909@web.de> Subject: Re: [collections] Classes that decorate collections with References? Date: Thu, 23 Dec 2004 09:04:42 -0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="ISO-8859-15"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I am unsure as to the use case for a ReferenceList/ReferenceSet. We already have ReferenceMap, which is very useful for building caches, but why would you need a List/Set? How would they operate? Stephen ----- Original Message ----- From: "Bastian Helfert" > If wished and/or needed, I would like to contribute by writing some > classes that decorate Collections, Lists, Maps and/or Sets with > Soft-/WeakReferences. These Decorators shall make the Reference handling > transparent to the user. Besides having > org.apache.commons.collections.map.AbstractReferenceMap and > java.util.WeakHashMap, I could imagine that having i.e. Lists that contain > WeakReferences to listener objects would be useful. What do you think? > > Bastian > > --------------------------------------------------------------------- > To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org > For additional commands, e-mail: commons-dev-help@jakarta.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org