两个map进行比较
private boolean resetCompareSingle(Map<String, Object> current, Map<String, Object> last){ Iterator<String> iterator = current.keySet().iterator(); while (iterator.hasNext()){ String key = (String)iterator.next(); if (!current.get(key).equals(last.get(key))) { return false; } } }