RE: [primitives] Package layout strategy

2003-10-15 Thread Hope, Matthew
Commons Developers List Subject: RE: [primitives] Package layout strategy To my knowledge, the type based packaging as presented is not possible. boolean, byte, short, et al are Java keywords and can not be used as parts of a package name. So, if a type based approach is to be employed, convoluted names

Re: [primitives] Package layout strategy

2003-10-14 Thread Rodney Waldhoff
: [primitives] Package layout strategy On Mon, 13 Oct 2003, __matthewHawthorne wrote: I believe that there will be a lot of code generation involved, Stephen checked in some Velocity templates a few weeks ago. Rather than generating the 64 pairwise primitive-to-primitive maps

Re: [primitives] Package layout strategy

2003-10-14 Thread __matthewHawthorne
o.a.c.primitives.io Stephen - Original Message - From: Rodney Waldhoff [EMAIL PROTECTED] To: Jakarta Commons Developers List [EMAIL PROTECTED] Sent: Monday, October 13, 2003 6:07 PM Subject: Re: [primitives] Package layout strategy On Mon, 13 Oct 2003, __matthewHawthorne wrote: I believe

RE: [primitives] Package layout strategy

2003-10-13 Thread Hope, Matthew
] Sent: 10 October 2003 22:17 To: Jakarta Commons Developers List Subject: Re: [primitives] Package layout strategy Looks good. This will present a nice, easy way to navigate through all of the classes. Stephen Colebourne wrote: I've been thinking about how the new project should structure

Re: [primitives] Package layout strategy

2003-10-13 Thread __matthewHawthorne
To: Jakarta Commons Developers List Subject: Re: [primitives] Package layout strategy Looks good. This will present a nice, easy way to navigate through all of the classes. Stephen Colebourne wrote: I've been thinking about how the new project should structure its packages. [primitives

RE: [primitives] Package layout strategy

2003-10-13 Thread Hope, Matthew
: [primitives] Package layout strategy While I can understand how this structure may be convenient, I don't think it would be the best choice. One of the controlling factors in packaging is dependencies. Package A depends on Package B depends on Package C. For example, in Stephen's suggested

Re: [primitives] Package layout strategy

2003-10-13 Thread Rodney Waldhoff
-0 to partitioning by collection or type. Neither is going to be a clean partitioning. For a collection counter-example, consider an ordered set/unique list. For a type counter-example, consider a map of chars to ints or ints to booleans, etc. Similarly, this name-spacing doesn't accurately

Re: [primitives] Package layout strategy

2003-10-13 Thread __matthewHawthorne
only import the same. Matt -Original Message- From: __matthewHawthorne [mailto:[EMAIL PROTECTED] Sent: 13 October 2003 16:05 To: Jakarta Commons Developers List Subject: Re: [primitives] Package layout strategy I can think of some inheritance in the current structure

Re: [primitives] Package layout strategy

2003-10-13 Thread Rodney Waldhoff
On Mon, 13 Oct 2003, __matthewHawthorne wrote: I believe that there will be a lot of code generation involved, Stephen checked in some Velocity templates a few weeks ago. Rather than generating the 64 pairwise primitive-to-primitive maps, their associated iterfaces, base classes, adapaters,

Re: [primitives] Package layout strategy

2003-10-13 Thread __matthewHawthorne
The problem is: how to properly package the massive amount of primitive collection classes. I see this as a valid problem. Leaving well enough alone is a possibility, another is to discuss if there are better options. That's what is taking place here. Waiting until there is a real-world

Re: [primitives] Package layout strategy

2003-10-13 Thread Eric Johnson
I've got almost no stake in this (except in having the work move forward so that I might take advantage of it in the future), but as far as the maps are concerned, I think having each of the possible pairwise solutions is overkill. What is to be served by a map of short -- Object, that isn't

Re: [primitives] Package layout strategy

2003-10-13 Thread Stephen Colebourne
- Original Message - From: Rodney Waldhoff [EMAIL PROTECTED] To: Jakarta Commons Developers List [EMAIL PROTECTED] Sent: Monday, October 13, 2003 6:07 PM Subject: Re: [primitives] Package layout strategy On Mon, 13 Oct 2003, __matthewHawthorne wrote: I believe that there will be a lot of code

RE: [primitives] Package layout strategy

2003-10-13 Thread Brent Worden
So the battle has become: o.a.c.primitives.boolean o.a.c.primitives.byte o.a.c.primitives.short o.a.c.primitives.int o.a.c.primitives.long o.a.c.primitives.float o.a.c.primitives.double vs. o.a.c.primitives.collection o.a.c.primitives.list o.a.c.primitives.iterator

[primitives] Package layout strategy

2003-10-10 Thread Stephen Colebourne
I've been thinking about how the new project should structure its packages. [primitives] will (I hope) be looking at Map implementations in addition to the List ones currently existing. I would like to restructure the packages into an interface based scheme. primitives.collection

Re: [primitives] Package layout strategy

2003-10-10 Thread __matthewHawthorne
Looks good. This will present a nice, easy way to navigate through all of the classes. Stephen Colebourne wrote: I've been thinking about how the new project should structure its packages. [primitives] will (I hope) be looking at Map implementations in addition to the List ones currently