A sealed class cannot be used as a base class.
密封类别不能当做基底类别使用。
We see that UnitsSystem is a sealed case class with no attributes.
我们看到,UnitsSystem是一个密封的case类,没有属性。
How to define members of a sealed abstract class in a nice way?
如何在一个很好的方式定义一个密封的抽象类的成员?
How to define members of a sealed abstract class in a nice way?
如何在一个很好的方式定义一个密封的抽象类的成员?
应用推荐