Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 64446 invoked from network); 12 Apr 2004 19:20:24 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 12 Apr 2004 19:20:24 -0000 Received: (qmail 19463 invoked by uid 500); 12 Apr 2004 19:20:10 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 19414 invoked by uid 500); 12 Apr 2004 19:20:10 -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 19384 invoked from network); 12 Apr 2004 19:20:10 -0000 Received: from unknown (HELO gadolinium.btinternet.com) (194.73.73.111) by daedalus.apache.org with SMTP; 12 Apr 2004 19:20:10 -0000 Received: from [81.128.88.173] (helo=oemcomputer) by gadolinium.btinternet.com with smtp (Exim 3.22 #25) id 1BD6yb-0000YW-00 for commons-dev@jakarta.apache.org; Mon, 12 Apr 2004 20:20:13 +0100 Message-ID: <001e01c420c3$2b225b80$ad588051@oemcomputer> From: "Stephen Colebourne" To: "Jakarta Commons Developers List" References: <20040411153903.GGQM23778.imf23aec.mail.bellsouth.net@franklin> Subject: Re: [primitives] Permission to commit boolean collections Date: Mon, 12 Apr 2004 20:20:03 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I was hoping that Rodney would reply. Anyway, these sound like sensible enhancements to [primitives]. I am willing to review the classes you add. Stephen From: "Alex Karasulu" > I've written the Boolean equivalents for the collections we have in commons > primitives. Rather then just check them in I thought it might be proper to > ask first. > > I needed a ArrayBooleanList as well as the other primitives to finish off > the set so I just created one. > > Also I have built stacks for all the primitive types. Is it worth while > checking those in as well? Right now they're kind of out of place sitting > within a BER decoder package I have here: > > http://cvs.apache.org/viewcvs.cgi/incubator/directory/snickers/trunk/ber/src > /java/org/apache/snickers/ber/digester/?root=Apache-SVN > > There are the usual suspects: > > BooleanStack > ByteStack > CharStack > ShortStack > IntStack > LongStack > FloatStack > DoubleStack > > I also thing these can be embellished somewhat. We might want to extract > interfaces from them and follow the same model of abstracting away the > backing store as has been done with the List collections; namely extracting > the interface, having an abstract implementation, having concrete > implementations with a real backing store, and even having some > java.util.Stack decorators etc. > > Alex > > > > --------------------------------------------------------------------- > 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