[原创] scala 调用java可变长参数
zenghp97
2017-05-13
谁知道scala怎么调用java可变长参数(Object... param),在scala中用(Array[]():_*)调用不成功
|
|
superaxis
2017-05-31
scala> def test(parms:Object*){}
test: (parms: Object*)Unit scala> test(Array():_*) |