inner class中文,inner class的意思,inner class翻译及用法

2025-09-07 19:34 浏览次数 6

inner class

内隐类别

内部类

inner class 片语

片语

Inner class identifiers内部类的标识符

inner class training课余锻炼

instance inner class实例内部类

INNER JOIN Class c内联接

inner r class内隐类别

and anonymous inner class匿名内部类

inner class distance seeking类内距离试探

local inner class本地内部类

inner-class distance类内距离

inner class 例句

英汉例句

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

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

  • 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中的一行数据。

  • in the listing 1 code, i do this within the onwrite() method of the convertertranslator inner class with the call to the instrument() method of the class object.

    在清单1 的代码中,我是通过调用类对象的instrument()方法,在convertertranslator内部类的onwrite()方法中完成这项工作的。

  • 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.

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

  • 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对象。

  • 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 )作为测试中的内部类。

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

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

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

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

  • within the setup() method, a new 「testcase」 is instantiated based on a private inner class created to extend a jmock-cglib mockobjecttestcase object.

    在setup()方法内,根据为扩展jmock-cglibmockobjecttestcase对象而创建的私有内部类实例化了新 「testcase」。

  • 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.

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

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

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

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

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

  • 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方法的地方调用这些静态方法。

  • for example, the semantics of return, break, and this are different in a block of code than they are in a runnable (or other inner class instance) that represents the same block of code.

    比如,return、break和this在某一代码块中的语义与其在runnable(或其他内部类实例)中同一代码块中的语义是不同的。

  • the only thing a class needs to be used this way is a default constructor (which allows you to create an anonymous inner class instance inheriting from your class).

    惟一需要以这种方式使用一个类的是一个默认构造函数(它允许您创建继承自类的一个匿名内部类)。

  • the bgga proposal also works to repair a number of transparency failures that are present when trying to use inner class instances to gain the benefits of closures.

    使用内部类实例是闭包所带来的好处,但是这种方法缺少透明性,bgga 方案在一定程度上还有助于解决这个问题。

  • the event handling method of the inner class is shown in listing 2.

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

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

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

  • the example starts with an inner class nanodelay that will essentially pause for the given random number of nanoseconds, taking advantage of the new nanotime() method of system.

    这个例子首先是一个内部类nanodelay ,它实质上将暂停给定的任意纳秒(nanosecond)数,这里利用了system的新nanotime()方法。

相关热词