inner class 内部类 ; 内部类别 ; 内隐类别 ; 内嵌类
Anonymous Inner Class 匿名内部类 ; 匿名外部类 ; 匿名类 ; 匿名内部类别
Static Inner Class 静态内部类 ; 静态内部类别
local inner class 本地内部类 ; 局部内部类 ; 区域内部类别 ; 区域内嵌类
instance inner class 实例内部类
non-static Inner Class 非静态内部类
Inner class identifiers 内部类的标识符
interface and inner class 接口和内部类
and anonymous inner class 匿名内部类
inner class training 课余锻炼
Instance initializers allow you to execute construction code for an anonymous inner class.
实例初始化器允许您为一个匿名内部类执行构造代码。
I find that style difficult to read and test, so I created a named inner class.
我发现这种风格难于读取和测试,所以我创建了一个有名称的内部类。
The code in Listing 1 would be much neater if the anonymous class was placed separately as an inner class.
如果这个匿名类可被作为一个内部类单独放置,那么清单1中的代码将会简洁很多。
应用推荐