4 ms·
maybe backwards compatibility?
by dajohnson89 9y ago
maybe backwards compatibility?
- riku_iki 9y agoHow exactly adding map() is not backwards compatible?..
- xendo 9y agoAdding 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.