I am working on a design, where I am using var argument. Now the problem is I need to use two different type of var arguments.
method signature
void addInformation(
final String call,
final ApiEnum... apis,
final ApiTypes... types);
As this is not possible. What could be a better alternative to this design.
Aucun commentaire:
Enregistrer un commentaire