The government had failed to stem the tide of factory closures.
政府没有控制住工厂纷纷倒闭的势头。
The company had previously announced the planned closures, but had not said which locations would be affected.
该公司此前曾宣布关闭的计划,但没有说哪些地点将受到影响。
Listing 2: Looping without closures.
清单2:不含闭包的循环。
First-class methods and functions (closures)
一流的方法和函数(闭包)
The factory has also suffered temporary closures.
工厂还曾短暂关闭。
Another concept introduced by Kevin is closures.
Kevin介绍的另外一个概念是闭包。
But equally valuable is Groovy's use of closures.
但是,同样有价值的是Groovy对闭包的使用。
JEST resources: Customizable, persistent closures.
JEST资源:可定制的持久化闭包。
The names of these closures should speak for themselves.
这些闭包名称反映了它们的含义。
Reports of factory closures across the region are increasing.
亚洲地区关于工厂倒闭的报导越来越多。
Let's build upon this to learn about using closures in PHP.
让我们在此基础上了解如何在php中使用闭包。
You can build in your own abstractions as needed, with closures.
您可以根据需要通过闭包构建自己的抽象概念。
Your applications can benefit from the use of lambdas and closures.
可通过采用lambdas和closures 来使您的应用程序获益。
Customization with closures can take you in some surprising places.
用闭包进行定制会有一些惊人之处。
Primarily, you can use anonymous inner classes to implement closures.
可以使用匿名的内部类来实现闭包。
You've seen several examples of closures that iterate over collections.
您已经见过了几个对集合进行迭代的例子。
Next month I'll introduce another Groovy feature that relies on closures.
下个月,我要介绍Groovy的另外一项依赖闭包的特性。
The way of making recursive closures used in this example is a bit tedious.
这个示例中所使用的生成递归闭包的方法有些冗长。
As it turns out, Clojure has an even more-abbreviated way to define closures.
而Clojure具有一种更为简化的方式来定义闭包。
These are just two more of the many ways that you can use closures to iterate.
这些仅仅是众多使用闭包进行迭代的方法中的两种。
The syntax for closures has changed, but mostly only with regard to parameters.
闭包的语法发生了变化,但是大多数变化只与参数有关。
We discussed lambda functions and the advantages that closures have over them.
我们讨论了lambda函数及闭包与这些函数相比的优点。
Squeak supports closures — that is, using blocks of code as parameters — like this.
Squeak支持闭包——也就是,使用成块代码作为参数——像这样。
No more ugly anonymous inner classes: just use closures through those shortcut methods!
不再有丑陋的匿名内部类:只要通过这些便捷方法使用闭包就可以!
You can use closures to make statements about the architectural integrity of your models.
可以用闭包来表述模型架构上的完整性。
Listing 10 includes several closures in the Library class that mimic the use of a visitor.
清单10包含Library类中的几个闭包,模拟了访问者的用法。
That way every new domain class created already has the fields and event closures in place.
这样,新创建域类时它们就有适当的字段和事件闭包。
As we see in Listing 1, the member functions of the Example object are defined as closures.
如清单1中所示,Example对象的成员函数被定义为闭包。
As we see in Listing 1, the member functions of the Example object are defined as closures.
如清单1中所示,Example对象的成员函数被定义为闭包。
应用推荐