Scala:将数组传递给变长参数

参考:https://www.cnblogs.com/mustone/p/5711937.html

val pop = Array[String]("","","")
jedis.lpush("pop",pop:_*)

你可能感兴趣的:(scala)