Using 'this' in nested Scala Class definition

后端 未结 0 640
借酒劲吻你
借酒劲吻你 2020-12-17 20:32

I have the following abstract class with the method :: and the inner class ListNode

abstract class SimpleList[+Elem] {
  def head: Elem
  def tail: SimpleList         


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