备忘录模式,可以将当前状态保存,并随时恢复。

Originator存在状态state,当需要保存此状态时,通过CreateMemento创建一个备忘录对象Memento保存此状态;而需要恢复相应状态时,使用RestoreMemento(memento)将相应的状态恢复回来。

最新文章

  1. PHP socket上传文件图片
  2. jstl
  3. mysql 笔记
  4. Spark的数据存储
  5. ecshop Admin后台商品列表处(上架、下架、精品...取消精品)增加操作
  6. [转载] Spring MVC - 处理器拦截器
  7. hdu 2034 人见人爱A-B
  8. hdu 2199 Can you solve this equation?(高精度二分)
  9. Apache的编译安装error: APR not found. Please read the documentation
  10. 通过 SuperObject 生成 json string
  11. Win7与虚拟机VMware下运行的Ubuntu共享文件夹
  12. [学习笔记]设计模式之Proxy
  13. Word Pattern
  14. ANDROID 开机启动VNC SERVER
  15. java —— equals 与 ==
  16. Spring MVC基础学习
  17. FutureTask理解
  18. 【Angular专题】——(1)Angular,孤傲的变革者
  19. Golang的md5 hash计算
  20. 审核被拒:1. 1 Safety: Objectionable Content ;3. 1.1 Business: Payments - In-App Purchase ;4. 3 Design: Spam ;5. 1.1 Legal: Privacy - Data Collection and Storage

热门文章

  1. hdu1536Nim
  2. HTML4基础
  3. ansible role 执行顺序
  4. 8、关于viewWithTag
  5. 扔鸡蛋问题详解(Egg Dropping Puzzle)
  6. centos7内核升级
  7. Openlayer 3 删除上一次绘制的图
  8. Linux之top
  9. python报错Could not open PYTHONSTARTUP
  10. html5+css3 文章的展示demo