封装类 meaning in Chinese
capsuleclasss
Examples
- If you need to grab output from your data binding api , convert everything to strings , then loop through the strings and truncate everything to 10 characters , and then . well , you get the idea - you might find that writing lots of modular interfaces and encapsulated classes is just a waste of time
如果需要抓住数据绑定api的输出,将一切都转化成字符串,然后遍历这些字符串,将它们截成10个字符长,然后您就明白了,编写大量的模块化接口和封装类只是在浪费时间。 - A handle to a reference type encapsulates the actual virtual address of the object in order to facilitate the runtime garbage collector much as a private data member encapsulates the implementation of a class in order to facilitate extensibility and localization , except that the consequences of violating that encapsulation in a garbage collected environment is considerably more severe
为了实现运行时垃圾回收器,引用类型的句柄封装了对象的实际虚拟地址,这与私有数据成员封装类的实现以实现扩展性和本地化非常相似,只是在垃圾回收环境中违反该封装的后果严重得多。