I have got this warning: non-varargs call of varargs method with inexact argument type for last parameter;
Calling Java varargs method with single null argument?
More than one varargs argument How to create a generic varargs method? Is varargs of array possible in Java? Varargs to ArrayList problem in Java List instead of Array in varargs java method Alternative to Varargs Java's varargs performance How to call a varargs method with an additional argument from a varargs method Varargs with null parameters in Java Use an array to call a constructor with varargs How to add new element to Varargs? Warning for generic varargs How to pass an ArrayList to a varargs method parameter? Why can't we just use arrays instead of varargs? Varargs and argument less method Java Object Constructor with VarArgs Passing a List in as varargs How to check if argument is varArgs Can a Java varargs be null? Passing varargs to another method as different type How to add arguments to varargs? How to pass a list as parameter for varargs? varargs parameter list created at runtime varargs and the '...' argument When do you use varargs in Java? Varargs of type Class in Java Source Code for Varargs in the Java API? Java two varargs in one method Java varargs: a way to get back to the ...-form?