[jdom-interest] type safety: List<Element>

Joseph Bowbeer jozart at csi.com
Sat Sep 2 06:48:22 PDT 2000

Type safety of collections is one of the issues that came up in the
"Fast or Safe" and "children as List" discussions.

I want to point out that work is underway to add generic types to Java.
(I believe the Collections API was designed with this eventuality in
mind.)  So it's fairly likely that List<Element> will be available to
JDOM as a first-class type in future versions of Java.

Check out JSR #14 (jsr_014_gener.html)


Joe Bowbeer

More information about the jdom-interest mailing list