For example, you can retrieve information from a backend system, but rather than copy every possible object from the store to memory, just load small pieces and put them into a cache.
例如,可以从后端系统检索信息,但不将每个可能的对象均从存储区复制到内存中,而仅加载其中的小部分,将其放置在缓存中。
Without covering every possible explanation, here are a few reasons why it makes sense to have an object system for C. For one, there are many developers who simply prefer C to C++.
这里我们不讨论每种可能的解释,而只解释为什么拥有一个用于C 的对象系统是有意义的。 其一,比起 C++,有许多开发人员更喜欢用 C。
A MOP implementation is possible in Groovy because every object in Groovyland implicitly implements groovy.lang.GroovyObject, which defines two methods dubbed invokeMethod() and getProperty().
在 Groovy中可以实现MOP是因为,在Groovyland 中每一个对象都隐式地实现 groovy.lang.GroovyObject,它定义了invokeMethod() 和 getProperty()两个方法。
Kripke and Putnam who has presented the theory of the historic causality consider that proper name is the rigid designator, and always refers to the same object in every possible world.
克里·普克、普特南是因果历史理论的代表,他们认为:专名是严格指示词,在每个可能世界都指称同一个对象。
Kripke and Putnam who has presented the theory of the historic causality consider that proper name is the rigid designator, and always refers to the same object in every possible world.
克里·普克、普特南是因果历史理论的代表,他们认为:专名是严格指示词,在每个可能世界都指称同一个对象。
应用推荐