expando
美
英 
例句
As a rule of thumb, if you find yourself wrapping more than three disparate chunks of code in a category, consider making it an expando.
一般说来,如果您发现自己在一个category中包装超过3个根本不同的代码块时,考虑使用expando。
Also note that this class extends Expando, as this will be important later.
同时也要注意这个类继承了Expando,因为这个在后面很重要。
Our web controller implements a "save" method, and we've mocked up a model Object using powerful Groovy features (Expando and Closures).
我们的控制器实现了一个“save”方法,使用强大的Groovy特性(Expando和闭包),我们模拟出一个模型对象。
After investigating, you find that the tree grid would always hold the states of expando functions.
调查之后,您发现树型网格总是保留expando函数的状态。
It used the Expando property feature of GAE to store the URLs of the services.
它使用了GAE的Expando属性特性来存储服务的URL。
You need to clear the expando states when the tree grid performs a sorting query.
当树型网格执行一个排序查询时,您需要清除expando状态。
Expandos, on the other hand, are global in nature: Once the expando code has executed, those changes appear for the rest of the application.
另一方面,Expandos本质上是全局的:一旦expando代码执行,这些改变将会出现在应用程序的其余部分中。
With the MOP, as we have seen with Expando, we can insert those free methods into multiple classes.
使用MOP,正如我们使用Expando时已看到的,我们可以将这些自由方法插入多个类。