[jdom-interest] Bathing in casts...
philip.nelson at omniresources.com
philip.nelson at omniresources.com
Thu Sep 6 04:31:26 PDT 2001
> Now that's what strong typing is !
>
> addAttribute( ( (Attribute) ( (Attributes)
> attsIt.next() ).clone() );
>
> I am still wondering weather these casts don't cost a bit of time...
> And still hoping for these parametrized types to come through
> officially
> on day...
I don't think they would help much for JDOM though. We would have to build
a common node interface I think to use them, then you would have to cast to
get your specific types so.....
More information about the jdom-interest
mailing list