示例#1
0
 public void remove(Macro macro) {
   Map m = db.getMap(NAME);
   m.remove(new Integer(macro.getId()));
 }
示例#2
0
 public void update(Macro macro) {
   Map m = db.getMap(NAME);
   m.put(new Integer(macro.getId()), macro);
 }