//更新数据 public Boolean updatenodeT(datanode <user> mm, string usename, user d) { datanode <user> mg = serchnode(usename, mm); if (mg == null) { return(false); } else { mg.setobject(d); return(true); } }
//添加数据 public Boolean addnodedata(string usename, Object mobject) { datanode <user> mg = serchnode(usename, this.nodeworld); if (mg == null) { return(false); } else { mg.setobject(mobject); return(true); } }