摘要: 你为Class外访问private对象而苦恼嘛?你为设计序列化格式而头疼嘛? ——欢迎体验Google Protocol Buffer 面向对象之封装性 历史遗留问题 面向对象中最矛盾的一个特性,就是“封装性”。 在上古时期,大牛们无聊地设计了三种访问域: public、private、protec 阅读全文
posted @ 2016-03-04 19:30 Physcal 阅读(5213) 评论(2) 推荐(0) 编辑