What is the translation of " INNER CLASS " in Chinese?

['inər klɑːs]
['inər klɑːs]
内部类
inner class

Examples of using Inner class in English and their translations into Chinese

{-}
  • Political category close
  • Ecclesiastic category close
  • Programming category close
Why use an inner class?
为什么要使用内部类??
Inner classes allow you to group classes logically.
内部类允许你逻辑性地组织类。
What is Java inner class?
什么是Java内部类??
Inner classes can be hidden from other classes in the same package.
内部类可以对同一个包中的其他类隐藏起来。
This is an inner class of Map.
是一个Map的内部类
Such a class is called an anonymous inner class.
这种类被称为匿名内部类(anonymousinnerclass)。
Because of inner classes described in the previous point, there are no pointers to members in Java.
由于存在前面介绍的那种内部类,所以Java里没有指向成员的指针。
It is not a nonstatic inner class.
它不是一个非静态内部类
However, the inner class can access methods and fields from the enclosing class as if it owned them.
所以内部类可以访问其外围类的方法和属性,就像自己拥有它们似的。
Anonymous inner class.
匿名类(AnonymousInnerClass).
When such classes are not named,they are known as anonymous classes(or anonymous inner classes).
这种类被称为匿名内部类(anonymousinnerclass)。
For generic classes, such as the string, I use an inner class within the configuration code.
对于泛型类,如字符串,我在配置代码中使用内部类
Superficially, lambda expressions in Java 8 arejust syntactic sugar for instances anonymous inner classes.
不过Java8里引入的Lambda表达式,某种程度上就是匿名类的语法糖。
A big difference between lambda expressions and anonymous inner classes is the use of the this keyword.
使用匿名类与Lambda表达式的一大区别在于关键词的使用。
However, that the inner class does more than that; it knows about and can communicate with the surrounding class..
不过你将会了解到,内部类不仅仅是起这个作用,它可以知晓外围类并能与之通信。
Builder as a static inner class.
就是修饰为static的内部类
If you define more than one non inner class in a file with the keyword public the compiler will generate an error.
如果你用public关键字在一个文件中定义了超过一个非内部类,编译器将会报错。
The examiners seem to like toask simple questions that boil down to"can an inner class be static or private".
主考者似乎有可能问一些归结为“一个内部类可以是static或private”的问题。
The inner class lets you group classes that logically belong together and control the visibility of one within the other.
内部类允许你把一些逻辑相关的类组织在一起,并控制位于内部的类的可视性。
For example, in 1.1 Sun Microsystems simultaneously added inner classes and serialization to the platform.
举个例子,在1.1版本中,Sun为平台同时添加了内部类和序列化功能。
Java 1.2 came out in December 1998 andintroduced the first of a significant set of changes to the language, with inner classes.
Java1.2版本于1998年12月发布,它首次对这门语言进行了一系列重大更新,包括内部类的引入。
Because we had type nesting from the start, something like inner classes, which is another thing I believe is really important.
因为我们从一开始就有类型嵌套,就像内部类,这是另一个我认为非常重要的事情。
The inner class can have multiple instances, each with its own state information that is independent of the information in the outer-class object.
内部类可以用多个实例,每个实例都有自己的状态信息,并且与其他外围对象的信息相互独立。
Not everything can be pickled(easily), though:examples of this are generators, inner classes, lambda functions and defaultdicts.
然而,并非所有东西都可以被轻易Pickle:例如,生成器,内部类,lambda函数和默认值。
One of the benefits of inner classes is that an inner class generally gets access to the fields of its enclosing(or outer) class..
内部类的一个好处是内部类一般可以访问它的嵌套类(或外部类)的域。
Apart from the above mentioned types of classes,Java also has some special classes called Inner classes and Anonymous classes..
除了上述类型的类,Java也有一些特殊的类称为内部类和匿名类。
It is defined as an inner class within the NoteEditor activity, but it is public so that it could be accessed as NoteEditor.
它被定义为NoteEditor活动的一个内部类,不过因为它是公有的所以可以在需要时从NoteEditor外部以NoteEditor.
Apart from the above mentioned types of classes,Java also has some special classes called Inner classes and Anonymous classes..
除了上面提到的几种类型,Java还有一些特殊的类,如:内部类、匿名类。
JSR-292 also includes VM features that will be used in Project Lambda, enabling a higher-performance implementation ofclosures than was possible using only inner classes.
JSR-292还包括将在Lambda项目中使用的VM特性,支持比仅利用内部类时性能更高的闭包实现。
Write code to construct instances of any concrete class including normal toplevel classes inner classes static inner classes and anonymous inner classes..
目标三创建类实例编写创建任何具体类实例的代码,包括正常的高层次类,内部类,静态内部类和匿名内部类。
Results: 30, Time: 0.0292

Word-for-word translation

Top dictionary queries

English - Chinese