if (objects.containsKey(obj.getObjectType())) { type = (HashMap) objects.get(obj.getObjectType()); } else { type = new HashMap(); objects.put(obj.getObjectType(), type); }
if (this.objects.containsKey(obj.getObjectType())) { type = (HashMap) objects.get(obj.getObjectType()); } else { type = new HashMap(); this.objects.put(obj.getObjectType(), type); }
    public void addDXFObject(DXFObject obj) {        HashMap type = null;        if (objects.containsKey(obj.getObjectType())) {            type = (HashMap) objects.get(obj.getObjectType());        } else {            type = new HashMap();            objects.put(obj.getObjectType(), type);        }        type.put(obj.getHandleID(), obj);    }