If we looked at the code of FigureManager.getDiagramArea(), we would see something like: totalArea = 0 loop over GeometricFigures in ordered set of Figure:GeometricFigures get next GeometricFigure totalArea = totalArea = GeometricFigure.getArea() endLoop return totalArea