[jdom-interest] For consideration

James Duncan Davidson duncan at x180.net
Fri May 4 13:58:57 PDT 2001


> I think Collection would qualify as interesting.  It has 15 methods.  A
> List only has 25 total, so the majority of List is inherited from
> Collection.

What is truly interesting is that there are no *wasted* methods from 
Collection in List. List truly isa Collection in that every method from 
Collection is meaningful. This in contrast to the DOM style of using 
interfaces where methods that don't do anything are still around.

IOW, I don't want to see a fly() method on something doesn't have wings.

James Duncan Davidson
duncan at x180.net




More information about the jdom-interest mailing list