commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Karasulu" <aok...@bellsouth.net>
Subject [primitives] Permission to commit boolean collections
Date Sun, 11 Apr 2004 15:39:00 GMT
Hi,

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


Mime
View raw message