You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bruce,
When I read your chapter on Appendix: Understanding equals() and hashCode(), In the section of Understanding hashCode(), original text:The put() method places the keys and values in corresponding ArrayLists. In accordance with the Map interface, it must return the old key or null if there was no old key.
I think it should return old value.
The text was updated successfully, but these errors were encountered:
Bruce,
When I read your chapter on Appendix: Understanding equals() and hashCode(), In the section of Understanding hashCode(), original text:The put() method places the keys and values in corresponding ArrayLists. In accordance with the Map interface, it must return the old key or null if there was no old key.
I think it should return old value.
The text was updated successfully, but these errors were encountered: