You can make a (shallow) copy: HashMap<String, String> copy = new HashMap<String, String>(map);. Or cast it if it's not a HashMap already:
確定! 回上一頁