Scala: return datatype Array([Int, Double])

前端 未结 0 1276
无人及你
无人及你 2020-12-06 05:43

I have for example a function that requires to return data type Array([Int, Double]) like this:

  def foo(x: Int, y:Double): Array[(Int, Double)]  = {
                


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