3.2Abstraction data type

ADT由操作定义likeString and SB adt操作的四种类型 构造器、生产器create new objects from old objects of the type,like String.concat() observers、mutator变值器改变对象的属性 4设计抽象类型 良好ADT的设计:靠“经验法则”,提供一组操作,设计其行为规约 spec 设计规则 1、设计简洁、一致
相关文章
相关标签/搜索