包级私有 package-private
易包乐私人有限公司 Explosive Barrel
私有包归档 Private Package Archive
长城包装私人有限公司 GW Packaging
由易包乐私家有限公司 explosive barrels
这意味着可以很明显地确定哪些包是私有的,OSGi 实现了这一点。
This means it is very clear which packages are private and OSGi enforces this.
如果你在高性能的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.
模块系统:包定义和私有定义。
应用推荐