What is the point of overloaded Convenience Factory Methods for Collections in Java 9
From the JEP docs itself – Description – These will include varargs overloads, so that there is no fixed limit on the collection size. However, the collection instances so created may be tuned for smaller sizes. Special-case APIs (fixed-argument overloads) for up to ten of elements will be provided. While this introduces some clutter in … Read more