Java - Variable Argument (varargs)

About

Workaround

To require that callers to a varargs parameter pass at least 1 argument

method(String first, String... more)

Example: Paths.get

Documentation


Powered by ComboStrap