Effective Java By Joshua Bloch Item 10: Obey The General Contract When Overriding Equals (Part 2)

Опубликовано: 27 Октябрь 2024
на канале: Rahul Sam
138
5

Part 2 of my disquisition on Item 10 of Effective Java by Joshua Bloch: Obey The General Contract When Overriding Equals. I also cover the Liskov substitution principle and properties (reflexivity, symmetry and transitivity) of the Java equals method that implements equivalence relation.

Part 1:    • Effective Java By Joshua Bloch Item 1...  
Part 3:    • Effective Java By Joshua Bloch Item 1...  
GitHub repository: https://github.com/TRahulSam1997/Effe...
Joshua Bloch's GitHub repository: https://github.com/jbloch/effective-j...
Book: https://www.amazon.com.au/Effective-J...
Full playlist:    • Effective Java By Joshua Bloch  

---------------------------------------

{Podcast}
Spotify: https://open.spotify.com/show/4ryEqju...
Anchor: https://anchor.fm/rahul-samaranayake

{Website}
https://rahulsam.me/

{Social Media}
  / trsam97  
https://www.minds.com/trahulsam/
  / rahul-samaranayake-981a9315b  
  / trahulsam  
  / name_is_rahul  

Facebook Group: https://goo.gl/JoL9CA

{Reference Links}
https://docs.oracle.com/javase/specs/...
https://www.baeldung.com/java-liskov-...
https://web.archive.org/web/201511280...

---------------------------------------
If the ideas I discuss in this channel evoke your interest, consider visiting https://theunhappyman.substack.com/
---------------------------------------

Copyright Disclaimer under section 107 of the Copyright Act 1976, allowance is made for “fair use” for purposes such as criticism, comment, news reporting, teaching, scholarship, education and research.

Fair use is a use permitted by copyright statutes that might otherwise be infringing.

If you are or represent the copyright owner of materials used in this video and have a problem with the use of the related material, please email me at [email protected], and we can sort it out. Thank you.

The description may contain affiliate links to products. I receive a commission for purchases made through these links. I only recommend products that have genuinely helped me.