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

    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

  • 反射使执行代码能够访问内部类信息。

    Reflection gives your executing code access to internal class information.

    youdao

  • 侦听器是View的内部类。

    The listener is an inner class of the View.

    youdao

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

    Internal types — Used during program execution.

    youdao

  • 新方法则被添加到包含所有函数的局部类。

    The new method is added to the partial class that contains all of your functions.

    youdao

  • 内部类的事件处理方法如清单2 所示。

    The event handling method of the inner class is shown in Listing 2.

    youdao

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

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

    youdao

  • 下面的代码是ErrorView的全部类定义。

    The following code is the entire class definition of ErrorView.

    youdao

  • 实例初始化器允许您为一个匿名内部类执行构造代码。

    Instance initializers allow you to execute construction code for an anonymous inner class.

    youdao

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

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

    youdao

  • 在父类中建立一个内部类,这个内部类是个测试用例。

    Make an inner class in the parent class, which is a test case.

    youdao

  • 每个Wicket应用的源代码中都会发现匿名的内部类。

    In every Wicket application source code you will find anonymous inner classes.

    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

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

    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

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

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

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