for (Enumeration e=prototypes.elements(); e.hasMoreElements(); ) { TypeInfo info = (TypeInfo) e.nextElement ();
Collection protos = app.getPrototypes(); for (Iterator i=protos.iterator(); i.hasNext(); ) { Prototype proto = (Prototype) i.next (); TypeInfo info = (TypeInfo) prototypes.get (proto.getName()); if (info == null) {  initPrototype (proto); info = (TypeInfo) prototypes.get (proto.getName()); }
    public void updatePrototypes () {	// first loop through existing prototypes and update them if necessary	for (Enumeration e=prototypes.elements(); e.hasMoreElements(); ) {	    TypeInfo info = (TypeInfo) e.nextElement ();	    // only update prototype if it has already been initialized.	    // otherwise, this will be done on demand	    if (info.lastUpdate > 0) {	        Prototype p = app.typemgr.getPrototype (info.protoName);	        if (p != null) {	            app.typemgr.updatePrototype(p);	            if (p.getLastUpdate () > info.lastUpdate) {	                evaluatePrototype(p);	                info.lastUpdate = p.getLastUpdate ();	            }	        }	    }	}    }