[jdom-interest] Java 5.0 JDOM Plans?

Jason Hunter jhunter at xquery.com
Tue Aug 30 16:15:48 PDT 2005

>> It's the covariant return types that we most want, and that JDK 1.4 
>> doesn't provide.  This is where you can override a method and return a 
>> more specific type than the superclass returns.
> Which methods would benefit from this? Other than clone().
> Brad

detach() is a big annoying one.

The other methods on Parent and Content that return Parent or Content 
instead of the specific type are other candidates.


More information about the jdom-interest mailing list