/* * Created on Sep 12, 2003 * * To change the template for this generated file go to * Window>Preferences>Java>Code Generation>Code and Comments */ /** * @author pclab * * To change the template for this generated type comment go to * Window>Preferences>Java>Code Generation>Code and Comments */ import java.util.*; public class B extends HashMap{ C c = new C(); D d = new D(1); B(){ this.put("c", c); this.put("d", d); } public HashMap getC(){ return (C) this.get("c"); } public D getD(){ return (D) this.get("d"); } }