accesses.scala

来自「JAVA 语言的函数式编程扩展」· SCALA 代码 · 共 28 行

SCALA
28
字号
package test.p1.p2abstract class A {  private[p2] def f2: unit  protected def f3: unit  private[p1] def f4: unit  protected[p1] def f5: unit}  abstract class OK1 extends A {  private[p1] def f2: unit  protected[p2] def f3: unit  private[test] def f4: unit  protected[test] def f5: unit}abstract class OK2 extends A {  protected[p1] def f2: unit  def f3: unit  protected[p1] def f4: unit  def f5: unit}abstract class Err1 extends A {  private def f2: unit = ()  private[p2] def f3: unit = ()  private[p2] def f4: unit  protected[p2] def f5: unit}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?