No subject
Sat Nov 12 19:29:10 PST 2005
going to be able to convince them to do this. The generics implementation
that's going in is a deliberate 'first attempt' at such things. It's not that
they didn't consider this issue, I'm sure many months of thought and argument
was given to it - it was decided that this wasn't the way to go for a first
release of the generics API. Once there was more time to study the problem,
something like this could be added. After all, we're still learning about the
ramifications of all this stuff in C++, and that was years ago. I think Mr
Bracha would be happier to implement something when doing it the 'best way' was
an option. At the moment, no-one seems to know the 'best way' (should template
meta-programming be a first class functional (compile-time) language?)
As an alternative, how about building a program that can automatically replace
references to Vector<Integer> with IntVector, using appropriate wrappers when
necessary?
- Paul
--
Paul Mclachlan (paul.mclachlan at numega.com)
Software Engineer, Java Tools. NuMega Lab, Compuware corp.
More information about the Advanced-java
mailing list