单词 | inner class | ||||||||||||||||
释义 | inner class
更多释义 收起释义 例句释义: 内部类,静态内部类,内部类别 1. In Java, you would have to use an anonymous inner class here that implements a method defined by an interface, etc. 在Java里,你可能会在这里使用一个匿名内部类来实现一个接口(interface)定义的方法。 www.bing.com 2. Instance initializers allow you to execute construction code for an anonymous inner class. 实例初始化器允许您为一个匿名内部类执行构造代码。 www.ibm.com 3. Often this means the proxy will need to be an inner class of Person to have access to private fields. 这通常意味着代理需要是Person的一个内部类,以便能访问private字段。 www.ibm.com 4. An inner class is added to implement the MqttSimpleCallback interface, and the registration of that handler. 添加内部类以实现MqttSimpleCallback接口和回调处理程序的注册。 www.ibm.com 5. Whenever practical, I try to include the sham for the class I'm testing (ShamPerson in this case) as an inner class within my test. 如果可行,我总是试图采用正在测试类的伪类(在这里是ShamPerson)作为测试中的内部类。 www.ibm.com 6. The code in Listing 1 would be much neater if the anonymous class was placed separately as an inner class. 如果这个匿名类可被作为一个内部类单独放置,那么清单1中的代码将会简洁很多。 www.ibm.com 7. 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中,匿名内部类可以修改外部的变量值。 www.infoq.com 8. Here, the ActionListener implementation is defined in place, as an anonymous inner class, and directly attached to the button. 这里,ActionListener实现是适时定义的,它定义为一个匿名内部类,并直接附加到按钮上。 www.ibm.com 9. In the above base aspect, I've stored transient state about the currently monitored request in an anonymous inner class. 在上面的基方面中,我把当前被监视请求的中间状态保存在匿名内部类中。 www.ibm.com 10. A nonstatic nested class is called an inner class. 非静态的嵌入类叫内部类。 blog.sina.com.cn 1. The CICE proposal is a simpler proposal that addresses the problem that instantiating inner class instances is too cumbersome. CICE方案要简单得多,它解决了实例化内部类实例不太灵活的问题。 www.ibm.com 2. This code uses an anonymous inner class, but you may also use named inner classes or independent classes as listeners. 此代码使用了一个匿名的内部类,但您还可以使用指定的内部类或单独的类作为监听器。 www.ibm.com 3. Avoid putting multiple classes in a single file, except inner class, helper class and Unit test class. 避免将多个类放在一个类文件里,除非是内部类,帮助类或者是单元测试类 zhidao.baidu.com 4. The MqttSimpleCallback interface is implemented with an inner class. MqttSimpleCallback接口是使用内部类实现的。 www.ibm.com 5. The event handling method of the inner class is shown in Listing 2. 内部类的事件处理方法如清单2所示。 www.ibm.com 6. The recommended approach is to use static inner classes, if you must use an inner class at all. 推荐的做法是如果非要使用内部类的话,请使用静态内部类。 www.infoq.com 7. In this code, the inner class MyInputValidator is responsible for validating input into the acronym list. 在这段代码中,内部类MyInputValidator负责验证缩略词列表的输入。 www.ibm.com 8. Generally, you add event listeners using the anonymous inner-class idiom familiar to Swing programmers. 一般情况下使用Swing程序员熟悉的内部类形式来添加事件侦听器。 www.ibm.com 9. I find that style difficult to read and test, so I created a named inner class. 我发现这种风格难于读取和测试,所以我创建了一个有名称的内部类。 www.ibm.com 10. The class under test is MyNewClass class (shown here as a private inner class). 待测试的类是MyNewClass类(在这里显示为私有内部类)。 www.ibm.com 1. The listener is an inner class of the View. 侦听器是View的内部类。 www.ibm.com 2. 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)。 www.ibm.com 3. Field in the inner class hides a field with the same name in the outer class. 内部类中的域在外部类中覆盖了一个相同名字的域。 www.juyy.net 4. For example, only final object references from the outer class are invokable within the body of the anonymous inner class. 例如,在匿名内联类的主体中,只能调用外部类中的final对象引用。 www.ibm.com 5. An inner class of non public class need not be public. 非公有类中的内部类不需要是公有的。 blog.csdn.net 6. Nails are an easy way either to reflect one's inner class or inner trash. 一个人的内在素养能通过指甲轻易体现出来。 blog.qq.com 7. Because this is an article on benchmarking, and not portfolio theory, Listing 4 leaves out the code for the EfTask inner class. 因为本文讨论的是基准测试,而不是投资组合理论,所以我们不用理会EfTask内部类的代码。 www.ibm.com 8. 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对象。 www.ibm.com 9. This is somewhat similar to the anonymous inner-class idiom used by GWT's event handlers. 这与GWT事件句柄中使用的内部类的概念有点相似。 www.ibm.com 10. To change what our view displays, modify the default code for the ViewContentProvider inner class. 要更改视图显示,修改ViewContentProvider内部类的默认代码。 www-128.ibm.com 1. Anonymous inner class are local inner classes that don't have a class name. 匿名内部类是局部的内部类,它没有名字。 www.cnblogs.com 2. In fact, an anonymous inner class can't even extend a class and implement an interface at the same time. 事实上,一个匿名内部类甚至不能同时扩展一个类和实现一个借口。 blog.sina.com.cn 3. Make an inner class in the parent class, which is a test case. 在父类中建立一个内部类,这个内部类是个测试用例。 www.ibm.com 4. Sometimes you need to write a subclass (often as an inner class) in order to test protected methods. 有时需要编写一个子类(通常作为内部类)来测试protected的方法。 www.ibm.com 5. The magnification itself is made by the MagnifiedIcon inner class (lines 95 through 113). 真正的放大工作是由MagnifiedIcon这个内部类来做的(第95行到第113行)。 www.ibm.com 6. For example, in Java, if an inner class has a private member, the enclosing class can see it. 例如,在Java中,如果一个内部类有一个私有成员,则包含它的外部类是能看到的。 www.bing.com 7. the later can be achieved by means of inner class and outer class 知识的积累可以通过课内和课外两条途径来完成。 www.ichacha.net 8. This new inner class helps us to understand and use the following two pairs of new methods in Thread 新的内部类可以帮助我们了解下列两对新方法,并有助于我们在Thread中使用它们 www.ibm.com 9. Note: If MyForm is modeled as an inner class within MyPage, then wicket will look for a resource file named MyPage$MyForm. properties 注意:如果MyForm作为MyPage内的内部类建模,那么wicket将会查找名为MyPage$MyForm.properties的资源文件。 www.ibm.com 10. An anonymous inner class may be declared as final 正确,因为匿名类其实隐含为 www.javahao.com 1. Predigest the Writing of Program Using Inner Class in JAVA JAVA中利用内部类简化程序的编写 www.ilib.cn 2. method . it is internally an inner class of 的一个内部类,但是 www.ichacha.net |
||||||||||||||||
随便看 |
|
英汉双解词典包含2704715条英汉词条,基本涵盖了全部常用单词的翻译及用法,是英语学习的有利工具。