[jdom-interest] getContent(Child)?

Jason Hunter jhunter at servlets.com
Tue Jun 17 19:10:11 PDT 2003


Bradley S. Huffman wrote:
>>Parent.childIndex(Child) -> getContent(Child)
> 
> 
> FWIW, your not getting content, but a integer index, so "get Content"
> just doesn't sound right to me. I'd prefer either getChildIndex or
> getContentIndex.

Yeah, oops.  How 'bout indexOf()?

Boy, now we're repeating a lot of the functionality that was supposed to 
just be in the List.

-jh-







More information about the jdom-interest mailing list