% --- start of displayed preamble in the book --- input metauml % --- end of displayed preamble in the book --- defaultfont:="ptmr8r"; warningcheck:=0; beginfig(1) Class.A("Vector")()(); ClassTemplate.T("T","size: int")(A); A.nw=(0,0); drawObjects(A,T); endfig; end;