abstract factory method pattern create an abstract method for uncertain logic application which used in this class's other method so the class can complete the logic operate. there is another way to do so that is
nested public static interface .
I found this when i read the org.hibernate.hql.ast.util.NodeTraverser.by the way,the command pattern is somewhat like those way.
posted on 2006-09-28 17:20
R.Zeus 阅读(327)
评论(0) 编辑 收藏 所属分类:
J2SE 、
Design Pattern