... 非静态的成员类 nonstatic member class 成员内部类 member inner class ; instance inner classes 类成员 class member ...
基于1个网页-相关网页
成员内部类
Member inner class
以上为机器翻译结果,长、整句建议使用 人工翻译 。
如果你在高性能的Hotspot中使用这些代码,可以通过声明被内部类访问的字段和成员为包访问权限,而非私有。
If you're using code like this in a performance hotspot, you can avoid the overhead by declaring fields and methods accessed by inner classes to have package access, rather than private access.
youdao
成员内部类,是一种可以访问外部类的私有成员或属性。
详细内容
应用推荐
模块上移
模块下移
不移动