RFR(s): JDK-8214687 Optimize Collections.nCopies().hashCode()

Stuart Marks stuart.marks at oracle.com
Tue Dec 4 03:56:37 UTC 2018

>> I believe it makes sense to override CopiesList.equals()
> Also: contains(), iterator(), listIterator()

equals(): sure

contains() is already overridden. Not sure there's much benefit to overriding 
the iterators.


More information about the core-libs-dev mailing list