Class type = o.getClass(); if(t.containsKey(type)) ((Vector)t.get(type)).addElement(o); else { Vector v = new Vector(); v.addElement(o); t.put(type,v); }
// Anonymous inner class: return new Fillable() { public void addTrash(Trash t) { add(t); } };
return (Vector)t.get(type);
return t.keys();