• 可以使用匿名的内部类来实现闭包。

    Primarily, you can use anonymous inner classes to implement closures.

    youdao

  • 两个用于解析事件消息的内部类。

    Two inner classes are defined for parsing the event messages.

    youdao

  • 新版Groovy也支持内部类。

    The new iteration also supports inner classes.

    youdao

  • ogadmin类包含多个内部类。

    The OGAdmin class contains several inner classes.

    youdao

  • 内部类型——程序执行期间使用的类型。

    Internal types — Used during program execution.

    youdao

  • 表达式重写通常使用表示特殊情况的内部类。

    More often the expression rewrite exploits internal classes that represent special cases.

    youdao

  • 内部类可以使用内部映射结构和一个集合实现这些功能。

    The inner classes implement these functions using an internal map structure and a set.

    youdao

  • 这个外部类负责每当新的XML元素开始时所要执行的动作。

    This external class is responsible for the actions to be performed each time a new XML element is started.

    youdao

  • 在类似匿名内部类的机制中使用代码块的一个优势是其简洁性。

    One of the advantages of using code blocks over a similar mechanism like anonymous inner classes lies in its conciseness.

    youdao

  • 推荐的做法是如果非要使用内部类的话,请使用静态内部类。

    The recommended approach is to use static inner classes, if you must use an inner class at all.

    youdao

  • 编译器完全禁止在静态方法和静态内部类中引用封闭类型参数。

    Referring to enclosing type parameters inside static methods and static inner classes is prohibited outright by the compiler. So, for instance, the following code is illegal in tiger.

    youdao

  • 大多数GWT书籍和在线教程中的回调示例是用匿名内部类实现的。

    Callback examples in most GWT books and online tutorials are implemented as anonymous inner classes.

    youdao

  • 不再有丑陋的匿名内部类:只要通过这些便捷方法使用闭包就可以!

    No more ugly anonymous inner classes: just use closures through those shortcut methods!

    youdao

  • 生成分部类,用于书写自定义代码,以避免被自动生成的代码覆盖。

    Generates partial classes where custom code can be written and won't be overwritten.

    youdao

  • MqttSimpleCallback接口是使用内部类实现的。

    The MqttSimpleCallback interface is implemented with an inner class.

    youdao

  • 我发现这种风格难于读取和测试,所以我创建了一个有名称的内部类。

    I find that style difficult to read and test, so I created a named inner class.

    youdao

  • 过滤逻辑包含在一个外部类中,该类可作为本文源代码的一部分下载。

    The filtering logic is contained in an external class that can be downloaded as part of the source code for this article.

    youdao

  • 分部方法通常被定义在一个分部类中,在常规的类文件中也可实现。

    A partial method is usually defined in a partial class file and is optionally implemented in the regular class file.

    youdao

  • 但匿名内部类只是宽泛地近似于闭包,它们并没有深入到您需要的程度。

    But anonymous inner classes give you only a loose approximation of closures, and they don't go as far as you need to go.

    youdao

  • 组织acl关系的表示形式的主要工作大部分都是在这些内部类中进行的。

    Much of the main work of organizing a presentation of ACL relationships goes on in these inner classes.

    youdao

  • 这种车辆可载两人,内部类似于飞机座舱,即驾驶员在前而乘客在其正后方。

    The Cell fits two people and is configured like the cockpit of an airplane, with the driver in front and the passenger directly behind.

    youdao

  • 现在Web应用程序已经完成设置,可以开始编写Atom提要的内部类了。

    Now that the Web application is set up, you can start to code the internal classes of the Atom feed.

    youdao

  • SAX解析器、文档处理程序以及用于其他元素的外部类都不需要作任何修改。

    The SAX parser, the document handler, and the external classes for the other elements do not need any changes.

    youdao

  • 该特性比函数指针更强大,因为它允许内部类实例保持对创建它的环境的引用。

    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.

    youdao

  • 有时需要编写一个子类(通常作为内部类)来测试protected 的方法。

    Sometimes you need to write a subclass (often as an inner class) in order to test protected methods.

    youdao

  • 默认情况下,它将进行递归调用。因此,您也可以在任何一个内部类中发现方法声明。

    This one makes recursive calls by default; therefore, it will also find method declarations in any inner classes.

    youdao

  • 如果这个匿名类可被作为一个内部类单独放置,那么清单1中的代码将会简洁很多。

    The code in Listing 1 would be much neater if the anonymous class was placed separately as an inner class.

    youdao

  • 要更改视图显示,修改ViewContentProvider内部类的默认代码。

    To change what our view displays, modify the default code for the ViewContentProvider inner class.

    youdao

  • 与西伯利亚中部类似,相对其他大多数热区,西伯利亚东部热区涵盖的语言数目并不多。

    Like Central Siberia, the Eastern Siberia hotspot encompasses few languages compared to most others.

    youdao

  • 与西伯利亚中部类似,相对其他大多数热区,西伯利亚东部热区涵盖的语言数目并不多。

    Like Central Siberia, the Eastern Siberia hotspot encompasses few languages compared to most others.

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定