3 ms·
My favourite is the fact that ConcurrentHashMap does not de-generate into a Linked List anymore.
by kgdinesh 10y ago
My favourite is the fact that ConcurrentHashMap does not de-generate into a Linked List anymore.
- xxs 10y agooh well, unless you had specifically designed custom made hash function (like hashCode() {return 1;}) it never did. And even now it still does it do so... unless you do it on purpose but implement properly j.u.Comparable.