public Object clone() { FigForkState figClone = (FigForkState) super.clone(); Vector v = figClone.getFigs(); figClone._bigPort = (FigRect) v.elementAt(0); figClone._head = (FigRect) v.elementAt(1); return figClone; }
public Object clone() { FigShallowHistoryState figClone = (FigShallowHistoryState) super.clone(); Vector v = figClone.getFigs(); figClone._bigPort = (FigCircle) v.elementAt(0); figClone._head = (FigCircle) v.elementAt(1); figClone._name = (FigText) v.elementAt(2); return figClone; }