Simplified Varargs Method Invocation.
简化Varargs方法调用。
There are some varargs involving arrays that are ambiguous.
有一些与数组相关的 varargs 是不明确的。
Varargs were already present in Groovy 1.0 - and still work with a JDK 1.4 runtime, but it is good to show how you can use them.
可变长度参数在Groovy 1.0中已经出现了——现在仍然可以在JDK1.4运行时环境下工作,1.0足以向你展示如何来使用他们了。
应用推荐