我有一个正在返回的函数List<String[]>,我可以修改它以返回其他内容,按比例缩放我正在调用的函数期望输入为:Seq[Product]
我收到以下错误:
[scalac-2.11] found : List[Array[String]]
[scalac-2.11] required: Seq[Product]
我是 Scala 的新手,我该怎么做?
我需要调用的 api 期望输入如下:
Seq( ("id", "string", "id", "string"), ("my_date", "string", "my_date", "string") )) )
守着一只汪
相关分类