期刊文献+

非可变类实现方法的讨论

Discuss on the Implementation Methods of Immutable Object
下载PDF
导出
摘要 该文首先介绍了非可变类的概念和优点,然后,依据《Effective Java》提出的非可变类要遵循的五个规则,结合保护性拷贝、对象序列化和类集等技术,重点讨论了在JAVA环境下实现非可变类的方法。 The paper firstly introduces the concept of Immutable Object and its advantages,then,base on five rules given by Effective Java,combine with the technologies of defensive copy,serialization and collection,mainly discusses the implementation of the immutable object with Java.
出处 《电脑知识与技术(过刊)》 2009年第4X期4448-4449,共2页 Computer Knowledge and Technology
关键词 非可变类 保护性拷贝 对象序列化 类集 immutable object defensive copy serialization collection
  • 相关文献

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部