SE450: TEMPLATE METHOD Pattern [57/65] Previous pageContentsNext page

Name in Design Pattern
Actual Name (Rectangles)
AbstractClass
Rectangle
ConcreteClass
Rectangle2D.Double
templateMethod()
contains
primitiveOpn()
getX, getY, getWidth, getHeight

Previous pageContentsNext page