4 ms·
Adding methods to non-final classes is always incompatoble. If you had your own implementation of list and its interface suddenly requires new method, how shoul
by xendo 9y ago
Adding methods to non-final classes is always incompatoble. If you had your own implementation of list and its interface suddenly requires new method, how should it behave?
- riku_iki 9y agomap() in AbstractCollection will obviously have some default implementation, which will be used by all child classes.