Properties tmp = new Properties() { @Override public synchronized Enumeration<Object> keys() { return Collections.enumeration(new TreeSet<Object>(super.keySet())); }};tmp.putAll(properties);tmp.store(new FileWriter(file), null);
欢迎分享,转载请注明来源:内存溢出
Properties tmp = new Properties() { @Override public synchronized Enumeration<Object> keys() { return Collections.enumeration(new TreeSet<Object>(super.keySet())); }};tmp.putAll(properties);tmp.store(new FileWriter(file), null);
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)