Options class exposes mostly options methods with many overloads.
Three methods are outliers: nextElement(E[]), nextElement(List) and nextElement(Collection).
Rename nextElement(List) and nextElement(Collection) to option(List) and option(Collection).
A method option(E...) already exists so no need to rename nextElement(E...).
If modifying in version 2.x, keep existing methods as deprecated, forwarding to renamed methods.
In version 3, remove existing methods.
Optionsclass exposes mostlyoptionsmethods with many overloads.Three methods are outliers:
nextElement(E[]),nextElement(List)andnextElement(Collection).Rename
nextElement(List)andnextElement(Collection)tooption(List)andoption(Collection).A method
option(E...)already exists so no need to renamenextElement(E...).If modifying in version 2.x, keep existing methods as deprecated, forwarding to renamed methods.
In version 3, remove existing methods.