The suggested closures came under assault from all parties.
关闭机构的建议受到各方严厉批评。
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.
该公司此前曾宣布关闭的计划,但没有说哪些地点将受到影响。
What's so special about closures?
闭包有什么特别之处?
Listing 2: Looping without closures.
清单2:不含闭包的循环。
您说的是闭包吗?
But further closures will be hard to avoid.
但更多的工厂倒闭将难以避免。
I'll use Ruby to show how closures work.
我将使用Ruby来展示闭包的运行原理。
My next step is to define the two closures.
下一步是定义两个闭包。
First-class methods and functions (closures)
一流的方法和函数(闭包)
The factory has also suffered temporary closures.
工厂还曾短暂关闭。
Another concept introduced by Kevin is closures.
Kevin介绍的另外一个概念是闭包。
You should be able to access all of the closures.
应当能够访问所有的闭包。
But equally valuable is Groovy's use of closures.
但是,同样有价值的是Groovy对闭包的使用。
JEST resources: Customizable, persistent closures.
JEST资源:可定制的持久化闭包。
So far so good, for code written without closures.
对于没用闭包写成的代码来说,到现在为止还算不错。
With closures, you can also refactor from the outside in.
有了闭包,您也可以从外到里进行重构。
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中使用闭包。
Ruby also lets you write methods that use your own closures.
Ruby让您也可以编写使用自己的闭包的方法。
You can build in your own abstractions as needed, with closures.
您可以根据需要通过闭包构建自己的抽象概念。
Note that you can use closures and reference variables later too.
注意,稍后您也可以使用闭包和引用变量。
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.
可以使用匿名的内部类来实现闭包。
Primarily, you can use anonymous inner classes to implement closures.
可以使用匿名的内部类来实现闭包。
应用推荐