If it is such a good idea to use collection interfaces as method parameters, why doesn’t the Java library follow this rule more often? For example, the
JComboBox class has two constructors:
The reason is simply timing. The Swing library was created before the collections library.
Share this highlighthttp://www.safaribooksonline.com/a/core-java-volume/15379319/