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

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

    youdao

  • The first set of enclosing braces delineates the construction of an anonymous inner class, and the second set delineates the instance initializer for the anonymous inner class.

    第一闭合括弧划定一个匿名内部构造第二组划定匿名内部类实例初始化语句块

    youdao

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

    比如returnbreakthis代码中的语义与其在Runnable(其他内部实例)中同一代码块中的语义不同

    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

  • 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

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

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

    youdao

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

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

    youdao

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

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

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