这意味着该方法可以接收多个Object作为参数。要更好地低估,请查看

here中的以下示例:

The ellipsis (…) identifies a variable number of arguments, and is
demonstrated in the following summation method.
static int sum (int ... numbers)
{
int total = 0;
for (int i = 0; i < numbers.length; i++)
total += numbers [i];
return total;
}
Call the summation method with as many comma-delimited integer
arguments as you desire — within the JVM’s limits. Some examples: sum
(10, 20) and sum (18, 20, 305, 4).

这是非常有用的,因为它允许你的方法变得更抽象。还要检查这个很好的example从SO,用户利用…符号来创建一个方法来连接字符串数组在Java中。

public static void test(int some, String... args) {
System.out.print("\n" + some);
for(String arg: args) {
System.out.print(", " + arg);
}
}

在评论部分提到:

Also note that if the function passes other parameters of different
types than varargs parameter, the vararg parameter should be the last
parameter in the function declaration public void test (Typev … v ,
Type1 a, Type2 b) or public void test(Type1 a, Typev … v
recipientJids, Type2 b) – is illegal. ONLY public void test(Type1 a, Type2 b, Typev … v)