字典 成语 英汉词典
 
全站
导航
字典 成语 英汉词典
Anonymous class

单词 Anonymous class

音标 英式发音 美式发音

释义

匿名类:在编程中,匿名类是一种没有名字的类,通常用于创建临时对象,以便在需要时执行特定操作。

时间: 2026-07-03 07:43:05

Anonymous class 双语例句

全部


1·Often, you'd see the listener defined as an inline anonymous class.

通常,您会看到侦听器被定义为内嵌匿名类。

2·As an example, the code in Listing 1 USES an anonymous class to create a Thread Factory.

例如,清单1所示的代码使用一个匿名类创建了一个Thread Factory。

3·To implement this listener class, we'll code an anonymous class in the main Explorer Window.

为了实现该侦听器类,我们将在主资源管理器窗口中编码一个匿名类。

4·To pass this to a recursive method, the anonymous class should extend a wrapper type known to the method.

为了在递归方法中传递,匿名类应该扩展方法已知的包装器类型。

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

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

6·Locals variables needed by those functions are said to closed over or lifted into the anonymous class.

那些匿名函数所需的本地变量据说被“封闭”(closed over)或“提升”(lifted)到该匿名类中。

7·If you add a method, all JRuby has to do is generate a new anonymous class that includes the body of that method.

如果你添加了一个方法,则所有JRuby要做的事情就是生成一个新的匿名类,该类包含了这一方法的方法体。

8·The closest you can come is to use a class (frequently an anonymous class) as a holder of a method you need to execute.

最接近的方式是利用类(经常是匿名类)作为想要执行的方法的 “holder”。

9·As each anonymous class has a unique name there are no issues loading it and as a result the application is updated on-the-fly.

因为每个匿名类都有一个唯一的名称,因此在加载该类是不会有问题的,而这样做的结果是,应用被实时动态地更新了。

10·Loosely speaking, since our anonymous class doesn't define click itself, the method lookup proceeds right to left, as declared.

大概地讲,因为我们的匿名类没有定义自己的click,所以这个方法会按照声明从右到左开始寻找。

queen-size是什么意思
queen-size是什么意思
汉词网为您提供queen-size是什么意思,queen-size的用法,queen-size的词性,queen-size的词根,queen-size短语搭配,queen-size真题例句等功能,学习单词超轻松。
查看完整内容
[07-03]
cultural institution是什么意思
cultural institution是什么意思
汉词网为您提供cultural institution是什么意思,cultural institution的用法,cultural institution的词性,cultural institution的词根,cultural institution短语搭配,cultural institution真题例句等功能,学习单词超轻松。
查看完整内容
[07-03]
configurational partition function是什么意思
configurational partition function是什么意思
汉词网为您提供configurational partition function是什么意思,configurational partition function的用法,configurational partition function的词性,configurational partition function的词根,configurational partition function短语搭配,configurational partition function真题例句等功能,学习单词超轻松。
查看完整内容
[07-03]
lattice imperfection是什么意思
lattice imperfection是什么意思
汉词网为您提供lattice imperfection是什么意思,lattice imperfection的用法,lattice imperfection的词性,lattice imperfection的词根,lattice imperfection短语搭配,lattice imperfection真题例句等功能,学习单词超轻松。
查看完整内容
[07-03]
constraint set是什么意思
constraint set是什么意思
汉词网为您提供constraint set是什么意思,constraint set的用法,constraint set的词性,constraint set的词根,constraint set短语搭配,constraint set真题例句等功能,学习单词超轻松。
查看完整内容
[07-03]
control relay是什么意思
control relay是什么意思
汉词网为您提供control relay是什么意思,control relay的用法,control relay的词性,control relay的词根,control relay短语搭配,control relay真题例句等功能,学习单词超轻松。
查看完整内容
[07-03]
configurational entropy是什么意思
configurational entropy是什么意思
汉词网为您提供configurational entropy是什么意思,configurational entropy的用法,configurational entropy的词性,configurational entropy的词根,configurational entropy短语搭配,configurational entropy真题例句等功能,学习单词超轻松。
查看完整内容
[07-03]
balance arm是什么意思
balance arm是什么意思
汉词网为您提供balance arm是什么意思,balance arm的用法,balance arm的词性,balance arm的词根,balance arm短语搭配,balance arm真题例句等功能,学习单词超轻松。
查看完整内容
[07-03]
  • Copyright © 2009-2024 m.mytentv.com 汉词 . All Rights Reserved. 渝ICP备2024018624号-1
  • 汉词,中小学生必上的网站,部分资料来源于网友提供,如有侵权,请与我们联系删除!邮箱:xhy_gz@163.com