2013年2月24日

Copying

摘要: pp135 这章比较水 没看懂例子。。The Copying pattern is used to create new object instances by copying existing instances.MotivationUse the Copying pattern any time you want to create a new object that is a copy of another object. Copying captures the state of an object at a moment in time.C and therefore Objecti 阅读全文

posted @ 2013-02-24 23:03 Chansonyan 阅读(279) 评论(0) 推荐(0)

Archiving and Unarchiving

摘要: pp123Archiving preserves objects including any interrelatinships or dependencise among the archived objects. Unarchiving re-created the objects and relationships that were previously archived.Archived objects are most commonly stored as binary data. Binary data tends to be fast to read and write fro 阅读全文

posted @ 2013-02-24 17:47 Chansonyan 阅读(252) 评论(0) 推荐(0)

导航