SE450: TEMPLATE METHOD Pattern [57/65] |
Name in
Design Pattern |
Actual Name
(Rectangles) |
AbstractClass |
Rectangle |
ConcreteClass |
Rectangle2D.Double |
templateMethod() |
contains |
primitiveOpn() |
getX, getY, getWidth, getHeight |