An open API service indexing awesome lists of open source software.

https://github.com/varunu28/effective-java-notes

💪 Notes about the book "Effective Java"
https://github.com/varunu28/effective-java-notes

Last synced: 4 months ago
JSON representation

💪 Notes about the book "Effective Java"

Awesome Lists containing this project

README

          

# Effective-Java-Notes
Notes about the book "Effective Java"

## Creating and Destroying Objects

- [Item 1: Consider static factory methods instead of constructors](https://github.com/varunu28/Effective-Java-Notes/blob/main/notes/Creating%20and%20Destroying%20Objects/Item%201.md)
- [Item 2: Consider a builder when faced with many constructor parameters](https://github.com/varunu28/Effective-Java-Notes/blob/main/notes/Creating%20and%20Destroying%20Objects/Item%202.md)
- [Item 3: Enforce the singleton property with a private constructor or enum type](https://github.com/varunu28/Effective-Java-Notes/blob/main/notes/Creating%20and%20Destroying%20Objects/Item%203.md)
- [Item 4: Enforce noninstantiability with a private constructor](https://github.com/varunu28/Effective-Java-Notes/blob/main/notes/Creating%20and%20Destroying%20Objects/Item%204.md)
- [Item 5: Prefer dependency injection to hardwiring resources](https://github.com/varunu28/Effective-Java-Notes/blob/main/notes/Creating%20and%20Destroying%20Objects/Item%205.md)
- [Item 6: Avoid creating unnecessary objects](https://github.com/varunu28/Effective-Java-Notes/blob/main/notes/Creating%20and%20Destroying%20Objects/Item%206.md)
- [Item 7: Eliminate obsolete object references](https://github.com/varunu28/Effective-Java-Notes/blob/main/notes/Creating%20and%20Destroying%20Objects/Item%207.md)
- [Item 8: Avoid finalizers and cleaners](https://github.com/varunu28/Effective-Java-Notes/blob/main/notes/Creating%20and%20Destroying%20Objects/Item%208.md)
- [Item 9: Prefer try-with-resources to try-finally](https://github.com/varunu28/Effective-Java-Notes/blob/main/notes/Creating%20and%20Destroying%20Objects/Item%209.md)

## Methods Common to All Objects

- [Item 10: Obey the general contract when overriding equals]( https://github.com/varunu28/Effective-Java-Notes/blob/main/notes/Methods%20Common%20to%20All%20Objects/Item%2010.md)
- [Item 11: Always override hashCode when you override equals]( https://github.com/varunu28/Effective-Java-Notes/blob/main/notes/Methods%20Common%20to%20All%20Objects/Item%2011.md)
- [Item 12: Always override toString]( https://github.com/varunu28/Effective-Java-Notes/blob/main/notes/Methods%20Common%20to%20All%20Objects/Item%2012.md)

## Concurrency

- [Item 78: Synchronize access to shared mutable data](https://github.com/varunu28/Effective-Java-Notes/blob/main/notes/Concurrency/Item%2078.md)