Regards
Heinz
--
Dr Heinz M. Kabutz (PhD CompSci)
Author of "The Java(tm) Specialists' Newsletter"
Sun Java Champion
http://www.javaspecialists.eu
Tel: +30 69 72 850 460
Skype: kabutz
you mean the way I did this for the Template Method Pattern?
Regards
Heinz
--
Dr Heinz M. Kabutz (PhD CompSci)
Author of "The Java(tm) Specialists' Newsletter"
Sun Java Champion
http://www.javaspecialists.eu
Tel: +30 69 72 850 460
Skype: kabutz
Composite:
http://www.jpatterns.org/apidocs/org/jpatterns/gof/CompositePattern.html
Template Method:
http://www.jpatterns.org/apidocs/org/jpatterns/gof/TemplateMethodPattern.html
(by the way, I just noticed that my naming was wrong. It should've been
PrimitiveOperation, not PrimitiveMethod.)
What would you like to make defaultMethod()? add/remove/getChild()? or
the operation()?
Regards
Heinz
--
Dr Heinz M. Kabutz (PhD CompSci)
Author of "The Java(tm) Specialists' Newsletter"
Sun Java Champion
http://www.javaspecialists.eu
Tel: +30 69 72 850 460
Skype: kabutz
Marco