面向对象技术 - 计算机系主页.pptVIP

  • 2
  • 0
  • 约4.35千字
  • 约 20页
  • 2017-06-02 发布于天津
  • 举报
面向对象技术 - 计算机系主页.ppt

* Institute of Computer Software Nanjing University * Institute of Computer Software Nanjing University Institute of Computer Software, Nanjing University Institute of Computer Software Nanjing University Institute of Computer Software Nanjing University Institute of Computer Software Nanjing University Institute of Computer Software Nanjing University Institute of Computer Software Nanjing University Institute of Computer Software Nanjing University Institute of Computer Software Nanjing University Institute of Computer Software Nanjing University Institute of Computer Software Nanjing University Institute of Computer Software Nanjing University Institute of Computer Software Nanjing University 复习和总结 Object-Oriented Technology: Review and Conclusion Remarks * Institute of Computer Software Nanjing University * Review Part 1: OO基础 OO基本原理 Design by Contract 异常处理;并发对象;持久对象 Part 2: OO设计原则和设计模式 OOA OOD 敏捷软件开发方法 OO设计原则 OO设计模式 应用框架技术 AOP * Institute of Computer Software Nanjing University * Review Part 3: 构件技术 构件化软件 分布对象 * Institute of Computer Software Nanjing University * Background 软件质量 外部质量因素(正确性,鲁棒性,完整性…) 应对软件复杂性的”元”方法 decomposition, abstraction, hierarchy 软件模块 模块化目标(5个),规则(5条),原则(5点) 软件复用 传统技术,OO技术 * Institute of Computer Software Nanjing University * Abstract Data Type ADT Why,What How – 代数方法 从ADT到类 类:模块和类型的统一 * Institute of Computer Software Nanjing University * Design by Contract 基本思想 借鉴“契约”原理,界定模块之间的权利义务,规范软件的开发,提高软件质量。 具体措施 Preconditions, Postconditions, Invariants 一个类(实现)的“正确性”? Hoare Triple 应用于继承? DbC和防御性编程的比较 * Institute of Computer Software Nanjing University * Exception Handling 对“异常”的理解 依据DbC,对Java异常的分类的理解 异常处理设施 异常处理设施的正确使用 不当使用 高效使用 * Institute of Computer Software Nanjing University * Concurrent Objects 并发概念 When OO meets Concurrency Java approach? Safety vs. Liveness Concurrency support in Java Thread Model Communication? Synchronization? Built-in Monitor (synchronized, wait, notify, notifyall ) Semaphore? Read/Write Lock? Barrier? * Ins

文档评论(0)

1亿VIP精品文档

相关文档