Map getAMap() { return new HashMap(); } Map list = getAMap(); list.put("hi", 1);