Scala method type parameterization

前端 未结 0 870
礼貌的吻别
礼貌的吻别 2021-01-15 06:13

I am trying to get a better handle on understanding methods parameterized by types and have this piece of code -

 def inferType[T, U](x: T, y: U): Unit = y ma         


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