• The OGAdmin class contains several inner classes.

    ogadmin类包含多个内部类。

    youdao

  • The MqttSimpleCallback interface is implemented with an inner class.

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

    youdao

  • The visitor is implemented in an inner class (aptly called Visitor).

    访问者是在一个内部类(称为Visitor 比较好)中实现的。

    youdao

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

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

    youdao

  • Field in the inner class hides a field with the same name in the outer class.

    内部类中的域在外部类中覆盖了一个相同名字的域。

    youdao

  • The magnification itself is made by the MagnifiedIcon inner class (lines 95 through 113).

    真正的放大工作是由 MagnifiedIcon这个内部类来做的(第95行到第113行)。

    youdao

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

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

    youdao

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

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

    youdao

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

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

    youdao

  • This new inner class helps us to understand and use the following two pairs of new methods in thread.

    新的内部类可以帮助我们了解下列两对新方法,并有助于我们在Thread中使用它们。

    youdao

  • Often this means the proxy will need to be an inner class of Person to have access to private fields.

    这通常意味着代理需要是Person的一个内部类,以便能访问private字段。

    youdao

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

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

    youdao

  • In this code, the inner class MyInputValidator is responsible for validating input into the acronym list.

    在这段代码中,内部类MyInputValidator负责验证缩略词列表的输入。

    youdao

  • An inner class is added to implement the MqttSimpleCallback interface, and the registration of that handler.

    添加内部类以实现MqttSimpleCallback接口和回调处理程序的注册。

    youdao

  • In fact, an anonymous inner class can't even extend a class and implement an interface at the same time.

    事实上,一个匿名内部类甚至不能同时扩展一个类和实现一个借口。

    youdao

  • An inner class has been implemented for query (lines 31-44) to map returned the ResultSet object to the User object.

    为查询实现了一个内部类(31 - 44行)以将ResultSet对象映射到User对象。

    youdao

  • Otherwise, an inner class will be created to store that element's contents (see name, phone and salary in Listing 9).

    否则,将创建一个内部类来存储此元素的内容(见清单9中的name、phone和salary)。

    youdao

  • For example, only final object references from the outer class are invokable within the body of the anonymous inner class.

    例如,在匿名内联类的主体中,只能调用外部类中的final对象引用。

    youdao

  • The CICE proposal is a simpler proposal that addresses the problem that instantiating inner class instances is too cumbersome.

    CICE方案要简单得多,它解决了实例化内部类实例不太灵活的问题。

    youdao

  • Here, the ActionListener implementation is defined in place, as an anonymous inner class, and directly attached to the button.

    这里,ActionListener实现是适时定义的,它定义为一个匿名内部类,并直接附加到按钮上。

    youdao

  • This restriction is lifted in Groovy; you can change the values of variables in a containing scope from within an anonymous inner class.

    Groovy则消除了这种限制,在Groovy中,匿名内部类可以修改外部的变量值。

    youdao

  • The inner class code calls these static methods whenever it needs to access the mValue field or invoke the doStuff method in the outer class.

    内部类会在外部类中任何需要访问mValue字段或调用doStuff方法的地方调用这些静态方法。

    youdao

  • The addOrderFrom() method collapses to the definition of an anonymous inner class creation of the command class, wrapping the two work items.

    addOrderFrom()方法成为公共类的匿名内部类创建的定义,将这两个工作项目包装起来。

    youdao

  • Inner classes can refer to mutable instance fields if the inner-class expression occurs in an instance context, but this is not the same thing.

    如果内部类表达式出现在某个实例上下文中的话,内部类可以引用可变的实例域instance field,但这不是同一回事。

    youdao

  • This is an improvement over having to write a class any time an anonymous inner class is needed and can help keep the code more self-documenting.

    相比于每个匿名内部类都要对应一个类的做法来说,这种方式是个极大的改进,同时也使得代码的可读性更好。

    youdao

  • You are returning an instance of JsonRecordWriter, an inner class that will get a line of data from Listing 3 and produce a line of data in Listing 4.

    您正在返回一个JsonRecordWriter实例,这是一个内部类,用于从清单3获取数据并生成清单4中的一行数据。

    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

  • Each of these is an abstract class, complete with two non-abstract inner classes called Double and Float (which are subclasses of the abstract outer class).

    其中每一个都是抽象类,他们都是两个名为Double和Float的非抽象内部类(它们是抽象外部类的子类)。

    youdao

  • Each of the inner classes has a method to add a relationship appropriate to its class, and accessors (getters) to access the relationships it manages internally.

    每个内部类都有一个能够添加适用于该类的关系和访问器(getter)来访问其在内部管理的关系的方法。

    youdao

  • The strength of the required protection is defined by the value of the transport guarantee. Following are the values defined in TransportGuarantee inner class

    必需的防护力度是由传输保证(transportguarantee)元素的值来定义。

    youdao

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

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

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