Java HashSet - How does HashSet use hashCode and equals?

preview_player
Показать описание
A brief introduction to why we need to have methods hashCode() and equals(Object o) in our class if when we want use the Java HashSet (or HashMap) library.
Рекомендации по теме
Комментарии
Автор

Simply the Best and concise Explaination, loved it. Thank you

saadmalikofficial
Автор

Thank you this save of lot of my time after stuck for a half week

somxai
Автор

Cool and very innovative way to show the example

Proman.Offbeat.Traveller
Автор

I have trouble remembering this sometimes, the physical models really helped with that. Thank you very much!

shakeelmuhammed
Автор

Thank you, was able to understand difference clearly.

ariesaqua
Автор

Thank you for the creative explanation!

tobito__
Автор

Really helpful. Made it look really clear.👍

shiyasmohammed
Автор

colleen lewis you very Really helpful thank you

engalibadouin
Автор

Wow best explanation so far ! thank you

YFProd