I listed a few alternatives in another email - not that I think they
are appropriate for Java, but they are alternatives.

1) C++ style compile time polyinstantiation
2) .Net style runtime polyinstantiation, but more extensively
than .Net does it.

In either case, ArrayList<String> would generate it's own code with a
String[] internally.

On Jan 28, 1:21 pm, Reinier Zwitserloot <[email protected]> wrote:
> Of course ArrayList has to use an internal Object[]. What else would
> it use?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "The 
Java Posse" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/javaposse?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to