The new iteration also supports inner classes.
新版Groovy也支持内部类。
The OGAdmin class contains several inner classes.
ogadmin类包含多个内部类。
Two inner classes are defined for parsing the event messages.
两个用于解析事件消息的内部类。
Objective 1, Packages, import, inner classes, interfaces.
目标1包,导入,内类与接口。
Why static final variables are accepted in inner classes?
为什么最终的静态变量是接受内心的架势?。
Primarily, you can use anonymous inner classes to implement closures.
可以使用匿名的内部类来实现闭包。
Consider Package Instead of Private Access with Private Inner classes.
在私有内部内中,考虑用包访问权限替代私有访问权限。
In every Wicket application source code you will find anonymous inner classes.
每个Wicket应用的源代码中都会发现匿名的内部类。
Anonymous inner class are local inner classes that don't have a class name.
匿名内部类是局部的内部类,它没有名字。
The inner classes implement these functions using an internal map structure and a set.
内部类可以使用内部映射结构和一个集合实现这些功能。
No more ugly anonymous inner classes: just use closures through those shortcut methods!
不再有丑陋的匿名内部类:只要通过这些便捷方法使用闭包就可以!
The recommended approach is to use static inner classes, if you must use an inner class at all.
推荐的做法是如果非要使用内部类的话,请使用静态内部类。
The scope of the relationships in a given instance of one of the inner classes is a single ACL.
这些内部类之一的给定实例中的关系的范围是单个acl。
Callback examples in most GWT books and online tutorials are implemented as anonymous inner classes.
大多数GWT书籍和在线教程中的回调示例是用匿名内部类实现的。
Much of the main work of organizing a presentation of ACL relationships goes on in these inner classes.
组织acl关系的表示形式的主要工作大部分都是在这些内部类中进行的。
As I probably mentioned before, you'll frequently see AsyncCallback classes defined as anonymous inner classes.
我以前可能提到过,您将经常看到定义为匿名内部类的asynccallback类。
This one makes recursive calls by default; therefore, it will also find method declarations in any inner classes.
默认情况下,它将进行递归调用。因此,您也可以在任何一个内部类中发现方法声明。
Scala is statically typed which allows it to provide generic classes, inner classes and even polymorphic methods.
Scala是静态类型的,这就允许它提供泛型类、内部类、甚至多态方法(Polymorphic Method)。
You can easily debug the code inside callback classes because not all IDEs support tracing in the inner classes.
可以轻松地调试回调类中的代码,而并非所有ide都支持跟踪内部类。
Interfaces and inner classes provide more sophisticated ways to organize and control the objects in your system.
接口和内部类提供了更加完善的方式来在系统中组织和控制对象。
But anonymous inner classes give you only a loose approximation of closures, and they don't go as far as you need to go.
但匿名内部类只是宽泛地近似于闭包,它们并没有深入到您需要的程度。
One of the advantages of using code blocks over a similar mechanism like anonymous inner classes lies in its conciseness.
在类似匿名内部类的机制中使用代码块的一个优势是其简洁性。
Because three of the.class files are really inner classes of Song.class and Songs.class, I only need to focus on two.class.
因为.class文件中有三个实际上是Song . class和Songs . class的内部类,所以我只需要把注意力放在两个. class文件上。
We could do this with inner classes, but they are so clunky to use that sometimes it seemed the cure was worse than the disease.
我们可以使用内部类来做到这一点,但是它们的用法是如此笨拙,以致于有时候其所带来的效果看起来似乎比要解决的问题还糟糕。
This includes publishing references to nonstatic inner classes, and generally precludes starting threads from within a constructor.
这包括发布对nonstatic内部类的引用,并一般要避免在构造函数中启动线程。
One limitation of inner classes - and lambda expressions too - is that they can only refer to final local variables from their lexical scope.
内部类以及lambda表达式一个局限性是——它们只引用来自它们的词法作用域的最终(final)局部变量。
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,但这不是同一回事。
Each of these is an abstract class, complete with two non-abstract inner classes called Double and Float (which are subclasses of the abstract outer class).
其中每一个都是抽象类,他们都是两个名为Double和Float的非抽象内部类(它们是抽象外部类的子类)。
You must understand how anonymous inner classes work (the inline declaration of the Command subclass) and understand the implications of the execute method.
您必须理解匿名内联类是如何工作的(Command子类的内联声明),并理解execute方法的含义。
Each of the inner classes has a method to add a relationship appropriate to its class, and accessors (getters) to access the relationships it manages internally.
每个内部类都有一个能够添加适用于该类的关系和访问器(getter)来访问其在内部管理的关系的方法。
应用推荐