Scala: Good way to extending “static” trait

前端 未结 0 1921
终归单人心
终归单人心 2020-11-27 08:53

I have a trait and some classes extending it. The problem is that all method in the trait should be implemented statically, so I put them in the corresponding companion obje

相关标签:
回答
  • 消灭零回复
提交回复
热议问题