可以使用匿名的内部类来实现闭包。
Primarily, you can use anonymous inner classes to implement closures.
两个用于解析事件消息的内部类。
Two inner classes are defined for parsing the event messages.
新版Groovy也支持内部类。
ogadmin类包含多个内部类。
内部类型——程序执行期间使用的类型。
表达式重写通常使用表示特殊情况的内部类。
More often the expression rewrite exploits internal classes that represent special cases.
内部类可以使用内部映射结构和一个集合实现这些功能。
The inner classes implement these functions using an internal map structure and a set.
这些内部类之一的给定实例中的关系的范围是单个acl。
The scope of the relationships in a given instance of one of the inner classes is a single ACL.
口服抗阻胺药物或者局部类固醇药物使用能减轻痒的症状。
Oral antihistamines or topical steroids may be used to decrease itching.
推荐的做法是如果非要使用内部类的话,请使用静态内部类。
The recommended approach is to use static inner classes, if you must use an inner class at all.
这个外部类负责每当新的XML元素开始时所要执行的动作。
This external class is responsible for the actions to be performed each time a new XML element is started.
在类似匿名内部类的机制中使用代码块的一个优势是其简洁性。
One of the advantages of using code blocks over a similar mechanism like anonymous inner classes lies in its conciseness.
大多数GWT书籍和在线教程中的回调示例是用匿名内部类实现的。
Callback examples in most GWT books and online tutorials are implemented as anonymous inner classes.
在共和党这边,乡村俱乐部类型被拉什·林堡的听众们挤到了一边。
In the Republican Party country-club types have been elbowed aside by Rush Limbaugh listeners.
不再有丑陋的匿名内部类:只要通过这些便捷方法使用闭包就可以!
No more ugly anonymous inner classes: just use closures through those shortcut methods!
生成分部类,用于书写自定义代码,以避免被自动生成的代码覆盖。
Generates partial classes where custom code can be written and won't be overwritten.
分部方法通常被定义在一个分部类中,在常规的类文件中也可实现。
A partial method is usually defined in a partial class file and is optionally implemented in the regular class file.
MqttSimpleCallback接口是使用内部类实现的。
The MqttSimpleCallback interface is implemented with an inner class.
我发现这种风格难于读取和测试,所以我创建了一个有名称的内部类。
I find that style difficult to read and test, so I created a named inner class.
过滤逻辑包含在一个外部类中,该类可作为本文源代码的一部分下载。
The filtering logic is contained in an external class that can be downloaded as part of the source code for this article.
可以轻松地调试回调类中的代码,而并非所有ide都支持跟踪内部类。
You can easily debug the code inside callback classes because not all IDEs support tracing in the inner classes.
但匿名内部类只是宽泛地近似于闭包,它们并没有深入到您需要的程度。
But anonymous inner classes give you only a loose approximation of closures, and they don't go as far as you need to go.
CICE方案要简单得多,它解决了实例化内部类实例不太灵活的问题。
The CICE proposal is a simpler proposal that addresses the problem that instantiating inner class instances is too cumbersome.
组织acl关系的表示形式的主要工作大部分都是在这些内部类中进行的。
Much of the main work of organizing a presentation of ACL relationships goes on in these inner classes.
SAX解析器、文档处理程序以及用于其他元素的外部类都不需要作任何修改。
The SAX parser, the document handler, and the external classes for the other elements do not need any changes.
该特性比函数指针更强大,因为它允许内部类实例保持对创建它的环境的引用。
This feature is richer than function Pointers because it allows the inner class instance to retain a reference to the environment in which it was created.
在定义局部类型的开始,在要求的栏目中创建相应的uml类型(类型或内表)。
To start defining a partial type, create the corresponding UML type (class or interface) in the required package.
公开了一些内部类,更容易编写类型的扩展(那些自定义的如何解析依赖对象)。
Made some internal classes public to make it easier to write certain type of extensions the ones that need to customize how the dependencies are resolved.
如果这个匿名类可被作为一个内部类单独放置,那么清单1中的代码将会简洁很多。
The code in Listing 1 would be much neater if the anonymous class was placed separately as an inner class.
如果这个匿名类可被作为一个内部类单独放置,那么清单1中的代码将会简洁很多。
The code in Listing 1 would be much neater if the anonymous class was placed separately as an inner class.
应用推荐