It's equivalent to Object[]
, but allows the caller to just specify the values one at a time as arguments, and the compiler will create an array. So this call:
setValues(statement, arg1, arg2, arg3);
is equivalent to
setValues(statement, new Object[] { arg1, arg2, arg3 });
See the documentation for the varargs feature (introduced in Java 5) for more information.