O'Reilly logo
  • Xing Ping Zhang thinks this is interesting:

case class

From

Cover of Programming Scala, 2nd Edition

Note

case class 的定义方法: 在类的定义前面加上关键字case