예제 #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);
 }